openstyles/stylus

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

Fermée

#2 090 ouverte le 20 mai 2026

 (9 commentaires) (1 réaction) (0 personne assignée)JavaScript (303 forks)batch import
bughelp wantednot reproducible

Métriques du dépôt

Stars
 (4 893 étoiles)
Métriques de merge PR
 (Merge moyen 7h 40m) (1 PR mergée en 30 j)

Description

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)

Guide contributeur