Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'map') #1018

Open
2 of 3 tasks
Kumneger0 opened this issue Jun 30, 2024 · 0 comments
Open
2 of 3 tasks

Cannot read properties of undefined (reading 'map') #1018

Kumneger0 opened this issue Jun 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kumneger0
Copy link

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.
@Kumneger0 Kumneger0 added the bug Something isn't working label Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant