This is a migrated thread and some comments may be shown as answers.

Fail to install on Windows

5 Answers 114 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonas
Top achievements
Rank 1
Jonas asked on 31 Oct 2014, 06:20 AM
I have a newly install Node.js and tried to run 

npm install appbuilder -g

It ended with an error message saying

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t
argets(64,5): error MSB8020: The build tools for Visual Studio 2010 (Platform T
oolset = 'v100') cannot be found. To build using the v100 build tools, please i
nstall Visual Studio 2010 build tools.  Alternatively, you may upgrade to the c
urrent Visual Studio tools by selecting the Project menu or right-click the sol
ution, and then selecting "Upgrade Solution...". [C:\Users\jonas\AppData\Roamin
g\npm\node_modules\appbuilder\node_modules\ffi\build\deps\dlfcn-win32\dlfcn.vcx
proj]

I do not have visual studio 2010 installed, is that really necessary?

5 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 31 Oct 2014, 08:19 AM
Hi Jonas,

May I ask you for your version of Nodejs (you can write node --version in the console)? As pointed in our system requirements, AppBuilder Command-Line Interface requires Node.js 0.10.22 or a later stable official release. Also please note that you have to use 32-bit version of Node.js, using 64-bit version may lead to the errors you've faced.
If you have 32-bit version of Nodejs and you still face the same issues, we'll need more details for your operating system (32-bits or 64-bits, which version of Windows, etc.). By default npm install is trying to load all dependencies for the installed product. If the prebuilt binaries do not match your OS, "npm install" tries to build them. That's why you see such build errors. However I advise you to check your Nodejs version first and make sure it is 32-bits. 

Hope this helps. Feel free to contact us in case you have any other problems or concerns.

Regards,
Rosen Vladimirov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jonas
Top achievements
Rank 1
answered on 31 Oct 2014, 09:17 AM
Ah, thanks, indeed, that was the case, I did not see that note (the package could perhaps halt early with an error message abt it).

Now I can run the simulator from the appbuilder cli (after reboot).

Next up I was going to run the cli tool from within Sublime, and that complains:

Command failed with exit code: 8
error: Cannot load the Telerik AppBuilder package because the Telerik AppBuilder command-line interface is not installed properly on your system.
For a complete list of the system requirements for running the Telerik AppBuilder package, go to:
https://github.com/Icenium/appbuilder-sublime-package#installation

0
Rosen Vladimirov
Telerik team
answered on 03 Nov 2014, 08:45 AM
Hi Jonas,

It looks like there's some mismatch in the versions of the AppBuilder package in your Sublime Text and AppBuilder CLI. May I ask you to install the latest version for both of them (we've just released a new version). In Sublime, could you try removing the package first (Preferences -> Package Control -> Package Control: Remove Package -> Telerik AppBuilder) and install the new one? Please make sure you've also installed the latest version of AppBuilder CLI.

If the above doesn't help, can you provide more information about your Sublime version, path to AppBuilder CLI installation, path to Sublime installation, etc. 

Hope this helps.

Regards,
Rosen Vladimirov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Jean
Top achievements
Rank 1
answered on 08 Jan 2017, 01:12 PM

Hi Rosen, 

I'm a new user of Nativescript and also have the connection problem with Sublime Text. I did all the steps recommended and still having the same error. I also tried to install check-node-version to see nodejs version and not working.

Do you have other trick for me ?

Thank's

0
Garo
Telerik team
answered on 11 Jan 2017, 09:11 AM
Hello Jean,

I believe this issue is addressed in the separate thread that you have opened. I suggest we continue our discussion there as keeping the conversation in one place would be more efficient.

Please, let me know if this is not the case and the issue reported here is different.

Regards,
Garo
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Command-Line Interface
Asked by
Jonas
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Jonas
Top achievements
Rank 1
Jean
Top achievements
Rank 1
Garo
Telerik team
Share this question
or