-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Report an EBADPLATFORM error during installation on MacOS #3907
Comments
Can you tell what's your node version (output of I'm not sure but your node/npm looks broken because it's detecting |
node version is v21.7.1 @brc-dd |
Is it happening if you run from mac terminal instead of vscode's integrated one? |
Can you share the output of following commands - npm --version
node -e "console.log(process.arch)" |
The same with the mac terminal. Maybe this is something wrong with package "esbuild-darwin-arm64"? @brc-dd And the output of the prompt above is:
Obviously my mac is not the x64 cpu Many thanks~ |
It seems the issue is with your node installation. Can you try re-installing some other version? |
Describe the bug
Hi sir, When I tried to install vitepress by running the command
npm add -D vitepress
,it reports an error:
Here is the log:
2024-05-20T08_58_27_221Z-debug-0.log
Reproduction
run the command
npm add -D vitepress
on M1 Mac mini in VSCodeExpected behavior
Vitepress installed successfully.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: