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

[BUG] plasmo dev yields 'indexOf' error #978

Open
2 of 3 tasks
arvindvs opened this issue May 17, 2024 · 0 comments
Open
2 of 3 tasks

[BUG] plasmo dev yields 'indexOf' error #978

arvindvs opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arvindvs
Copy link

What happened?

When running plasmo dev --verbose, I get an indexOf error.

I tried:

  • Clearing node_modules and reinstalling all dependencies
  • Installing older versions of Plasmo (up to 0.80.0)
  • Initializing a new Plasmo project from scratch and running plasmo dev

None of these have fixed this bug

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

No response

Relevant log output

> plasmo dev --verbose
  2 
  3 🟡 0      | Running command: dev
  4 🔴 ERROR  | Cannot read properties of undefined (reading 'indexOf')
  5 🟡 1      | TypeError: Cannot read properties of undefined (reading 'indexOf')
  6     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:80:1662
  7     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:3:461
  8     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:80:3161
  9     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:3:461
 10     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:167:499
 11     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:3:461
 12     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:167:8306
 13     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:3:461
 14     at file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18.2.0_react    @18.2.0/node_modules/plasmo/dist/index.js:167:11923
 15     at async ng (file:///Users/userpath/node_modules/.pnpm/plasmo@0.86.3_postcss@8.4.38_react-dom@18    .2.0_react@18.2.0/node_modules/plasmo/dist/index.js:167:12624)

(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.
@arvindvs arvindvs added the bug Something isn't working label May 17, 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