openstyles/stylus

popup: Unhandled error Cannot read properties of null (reading 'then')

Chiusa

#2090 aperta il 20 mag 2026

 (9 commenti) (1 reazione) (0 assegnatari)JavaScript (303 fork)batch import
bughelp wantednot reproducible

Metriche repository

Star
 (4893 stelle)
Metriche merge PR
 (Merge medio 7h 40m) (1 PR mergiata in 30 g)

Descrizione

TypeError: Cannot read properties of undefined (reading 'id')
    at initPopup (js/popup.js:1:9922)
    at init (js/popup.js:1:8514)
    at 8825 (js/popup.js:1:8844)
    at u (js/common.js:1:62715)
    at js/popup.js:1:19575
    at u.O (js/common.js:1:62982)
    at js/popup.js:1:19590
    at t (js/common.js:1:67111)
    at js/popup.js:1:133

TypeError: Cannot read properties of undefined (reading 'length')
    at Object.showStyles (js/popup.js:1:14078)
    at init (js/popup.js:1:8529)
    at 8825 (js/popup.js:1:8844)
    at u (js/common.js:1:62715)
    at js/popup.js:1:19575
    at u.O (js/common.js:1:62982)
    at js/popup.js:1:19590
    at t (js/common.js:1:67111)
    at js/popup.js:1:133

TypeError: Cannot read properties of null (reading 'then')
    at initPort (js/common.js:1:45976)
    at exec (js/common.js:1:45620)
    at Object.invokeAPI [as apply] (js/common.js:1:43931)
    at getStyles (js/common.js:1:18350)
    at applyStyles (js/common.js:1:18063)
    at init (js/common.js:1:17831)
    at 9073 (js/common.js:1:17578)
    at u (js/common.js:1:62715)
    at 8825 (js/popup.js:1:8213)
    at u (js/common.js:1:62715)
  • OS: Windows 10
  • Browser: Chrome 148
  • Stylus: 2.3.24 (MV3)

Guida contributor