Open quentin-aslan opened 2 months ago
尝试使用 --max-old-space-size 参数增加 Node.js 的内存限制:
NODE_OPTIONS=--max-old-space-size=4096 pnpm dev
尝试使用 --max-old-space-size 参数增加 Node.js 的内存限制:
NODE_OPTIONS=--max-old-space-size=4096 pnpm dev
并非解决问题 只是临时处理
Hi, it doesnt fix my issue, but I found a fix : use node v20 instead of node v22.
I use nvm to manage the node version :
Having this issue as well
Hi, it doesnt fix my issue, but I found a fix : use node v20 instead of node v22.
I use nvm to manage the node version :
- https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating
- Open your terminal and type : 2.1. nvm install 20 2.2. nvm use 20
- Start the app
This worked for me thanks
I am running into the same issue. Downgrading to node 21 or 20 works, but doesn't seem like a great fix.
Update: I reported this to the node repo, seems a regression introduced in 22.7.
This doesn't seem to be a Node issue but something in Plasmo, according to the Node maintainers in https://github.com/nodejs/node/issues/55145.
I have the same error. I found that the error is occured in this line. However, I can't easily determine which is causing the problem (plasmo, parcel or node).
What happened?
A bug happened!
I use a macbook air m3 (8gb) and when I init a project with pnpm create plasmo or plasmo init and I tried to start the project witn pnpm dev or plasmo dev. I have there error : Check -> 'Relevant log output' below
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
No response
Relevant log output
(OPTIONAL) Contribution
Code of Conduct