plasmo
plasmo copied to clipboard
[BUG] Very bland errors
What happened?
with npm run dev everything is OK, but when I try to build I get this very obscure and undescriptive error:
The project Im working on is 100% code & feature complete, but cannot build and error is very unhelpful.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution
- [ ] I would like to fix this BUG via a PR
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems.
Can you create a minimal re-prod? Try removing some dependencies or configurations and see which resulted in a successful build. This looks super random and I suspect it's related to either js version, or the bundler trying to make sense of some js code that's not in the bundled version:
https://www.reddit.com/r/learnjavascript/comments/wyci2h/expression_expected_error/