plasmo
plasmo copied to clipboard
[BUG] Auto Update JSON Parse Error
What happened?
Can I turn off this new version automatic detection?
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
(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.
Error:
ERROR | Error fetching package information for "plasmo" SyntaxError: Bad escaped character in JSON at position 1112 (line 1 column 1113)
at JSON.parse (<anonymous>)
at result.<computed> [as json] (file:///Users/Admin/Documents/work/plasmo-template/node_modules/.pnpm/[email protected]/node_modules/ky/distribution/core/Ky.js:79:33)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async packageJson (file:///Users/Admin/Documents/work/plasmo-template/node_modules/.pnpm/[email protected]/node_modules/package-json/index.js:43:10)
at async kt (file:///Users/Admin/Documents/work/plasmo-template/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]__@[email protected]_@types+node@20._a8008da57c43468dc13ec87a46acf525/node_modules/plasmo/dist/index.js:111:1421)
Code:
eLog('Error fetching package information for "plasmo"', error)
I think that even if an error occurs, an exception should not be thrown and should be ignored. Now a big error message will cause great trouble.