tj / n

Node version management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is n package supported in windows?

AhmedAymanBfcai opened this issue · comments

Hi John,

I hope you are well.

I am trying to install n package in windows 10. But I think it's not supported in windows.

I have this error:
npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for n@7.5.0: 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

I used and need yamljs not actually n package but It seems that yamljs depends on n package.

Thanks in Advance:)

n is not supported in Windows, as noted in the README: https://github.com/tj/n#supported-platforms

I had a look at the npm package yamljs and it does not depend on n. What makes you think you need to install n? (Perhaps the problem is about something else and installing n is not the solution.)

Hi John,

Thank you very much, John! I had to delete the n package from my package.json first then I should install yamljs.

I solved my problem now. Thank you:) ~

Thanks for the update, glad you worked it out.