-
-
Notifications
You must be signed in to change notification settings - Fork 735
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
N@8.0.1 while NPM upgrade (EBADPLATFORM) #704
Comments
Firstly, the error message.
This is what had triggered the error message you saw which comes from npm. Now, why are you seeing it... Did you see the error message when running |
It's that the find of arch not being defined it's error is that it's undefined in the package, N, and that because my system has a defined arch, x64, it's throwing an error and claiming the ebadplatform. The release needs to specify it's accepting both x32, x64, and Undefined. |
I think the problem is the OS. From your report:
What does this show for you?
|
Are you the creator or moderator or have any Business direct affiliation with the individual behind the last release of this package? |
Wow, you are spectacularly wrong about some of that.
Yes, I am the maintainer of this package. Yes, I am the individual behind the last release.
Yes, I am the current maintainer of this package. I respond to the reported issues. I make lots of the fixes and improvements myself. Some of the past issues about Windows support, and the ugly error message: #254 #326 #358 #419 #435 #491 #626 #656
And what is your operating system? What shell are you running your commands from? There may be a problem with the The README says (as written by me):
|
It's ok, I'm not sure what I'm doing anyhow. I was just installing dependencies on someone's template for something, I'm sorry to bother you. |
You may have missed the significance of the exclamation mark in |
I had this exact issue too but I think it was my mistake, possibly installed from the wrong directory, corrupted some module or whatnot. I determined my issue by looking at the npm log and reviewing some weird messages about directories missing things that shouldn't have been in the listed directories. Anyways, I removed "node_modules" in the root working directory, then ran: npm uninstall npm -g Browsed to "%userprofile%\AppData\Local" and removed: And then re-installed/updated npm: |
Problem
While Updating NPM thriws error
"npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for n@8.0.1: wanted {"os":"!win32"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: !win32
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64"
Seems like its not defined in the code on your end, but i could be wrong, i do a heckin lot of dev on this workstation.
Short Version
Long Version
Configuration Details
The text was updated successfully, but these errors were encountered: