Cannot read properties of undefined (reading 'map')
Kumneger0 opened this issue · 0 comments
Kumneger0 commented
What happened?
I'm encountering an error when trying to add the web_accessible_resources field to my Plasmo extension's manifest.json file(as documented in the Plasmo customization guide). The error message is
Steps to Reproduce:
clone the this https://github.com/Kumneger0/plasmo-bug-reproduce
install depencies
pnpm i
run project
plasmo dev
Expected Behavior:
The extension should build successfully and include the web_accessible_resources field in the generated manifest file.
Actual Behavior:
The build fails with the error message Cannot read properties of undefined (reading 'map')
Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
No response
Relevant log output
ERROR | Cannot read properties of undefined (reading 'map')
🟡 5 | TypeError: Cannot read properties of undefined (reading 'map')
(OPTIONAL) Contribution
- I would like to fix this BUG via a PR
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate problems.