[cause]: Error: Cannot find module '@rolldown/binding-darwin-arm64' #334
-
|
Hello. I'm setting up my environment to translate all of the react-server documentation into Japanese (and eventually work on the codebase too), but I'm encountering an error. problemWhen I ran pnpm test at this point, I encountered the following error. I tried reinstalling node_modules and clearing the cache, but it didn't resolve the issue. If you know of any potential causes or references, please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @hirohiro-sys! Nice to see you around the project again! Sorry for the AI translated Japanese used on many of the new or updated pages. What is your pnpm version you used to install dependencies? I see from the logs that you're using an older Node.js (v21.7.3). pnpm 10.30.1 should be the version of pnpm to use when working with the repo. Try to use I'll extend the contribution docs to include more details and a troubleshooting section. Hope the above helps! |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. After upgrading the node version and reinstalling everything, it started up normally. |
Beta Was this translation helpful? Give feedback.
Hi @hirohiro-sys!
Nice to see you around the project again! Sorry for the AI translated Japanese used on many of the new or updated pages.
What is your pnpm version you used to install dependencies? I see from the logs that you're using an older Node.js (v21.7.3). pnpm 10.30.1 should be the version of pnpm to use when working with the repo. Try to use
corepack enableor your own environment version manager to use the proper pnpm version. Clean all thenode_modulesfrom the repo (npx npkillcan help), then re-install usingpnpm i.I'll extend the contribution docs to include more details and a troubleshooting section. Hope the above helps!