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

Which node version should I use? #33

Closed
royderks opened this issue Oct 13, 2021 · 5 comments
Closed

Which node version should I use? #33

royderks opened this issue Oct 13, 2021 · 5 comments

Comments

@royderks
Copy link

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for @next/swc-darwin-arm64@11.1.2: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"darwin","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  arm64
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:```
@zaiste
Copy link
Contributor

zaiste commented Oct 14, 2021

@royderks I haven't seen this error before. Could you try using pnpm instead of npm? Are you on Apple Silicon?

@zaiste zaiste closed this as completed Oct 19, 2021
@zaiste
Copy link
Contributor

zaiste commented Oct 19, 2021

@royderks feel free to reopen if you still have the error

@royderks
Copy link
Author

Just good old Intel, updated node and npm. But it still gives me the error? Why should I use pnpm? Most people have npm or yarn..

@royderks royderks reopened this Oct 21, 2021
@krzysztofwolski
Copy link
Member

We wanted to test pnpm in this project. So far it did not cause any issues and appears to be really fast (and take less disk space!).
For sure we will need to discuss if we embrace pnpm or go back to the npm.

@zaiste
Copy link
Contributor

zaiste commented Oct 27, 2021

@royderks we upgraded Next.js to 12. This should help with your issue. Please feel free to re-open if it doesn't help.

@zaiste zaiste closed this as completed Oct 27, 2021
typeofweb pushed a commit that referenced this issue Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants