-
-
Notifications
You must be signed in to change notification settings - Fork 197
Nativescript installer fails on vanilla windows 10 - 'Unsupported platform for [email protected]' #3019
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
Comments
Hi @sjworkuid, Would you try upgrading to npm 3.10.10 and retry the installation. If the installator fails again could you try installing nativescript trough npm Hope one of these works for you! |
This happens to me too. Wanted to upgrade cli from 3.1.1 to 3.1.3. |
Hi @tigrenok00, Could you send us more details on your setup - npm and node version, OS, and the log when executing Thanks! |
Windows 10 |
Hi @tigrenok00 This screens says you have Workaround: Related to #2980 |
That did the trick - thx.
Steps below:
Completely uninstalled Node and npm:
- Uninstall Node.js (select Uninstall, not the Repair option).
- Go into %programfiles%\nodejs and delete the entire folder.
- Delete %appdata%\npm and %appdata%\npm-cache.
- Edit your PATH and remove everything that references npm (to do so,
hit "Start" and search for "Environment Variables").
Reinstall latest node and npm from:
https://nodejs.org/en/download/
After install:
node v6.11.2
npm 3.10.10
Restarted the nativescript win installer - finished successfully!
Thanks.
…On Tue, Aug 1, 2017 at 1:53 PM, dtopuzov ***@***.***> wrote:
Hi @tigrenok00 <https://github.com/tigrenok00>
This screens says you have ***@***.***, which is the problematic one.
Please upgrade to ***@***.*** or newer.
Related to #2980
<#2980>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3019 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMEGDASI3VWKFggfi2tiL8bJXbQkjW0jks5sT5BcgaJpZM4On9GY>
.
|
We will provide updated version of Windows installer next week that should resolve the issue. |
Thanks for the steps, I will try them in this sequence. What I did before was just updating the npm to 3.10.10 but it still used the previous version for the installation somehow. |
@tigrenok00 @sjworkuid We released new version of Windows Installer that should fix the issue (now we install [email protected]). |
|
Tried to install Nativescript on a brand new Windows 10 machine using the WIndows Installer.
Install fails with the following error:
[3ABC:3314][2017-07-30T21:33:56]i000: Executing operation: InstallNativeScript.
[3ABC:3314][2017-07-30T21:34:34]e000: Executing operation InstallNativeScript failed.
Error: npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "nativescript"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
See attached full setup log. Let me know if I can help with any more information.
Hopefully someone can provide a clue on how to move ahead. Really looking forward to getting started with dev - but stuck at Step 0 for now :)
NativeScript_CLI_Setup_20170730212711.txt
The text was updated successfully, but these errors were encountered: