Fail to install on Windows

4 posts, 0 answers
  1. Jonas
    Jonas avatar
    33 posts
    Member since:
    Sep 2009

    Posted 31 Oct 2014 Link to this post

    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?
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 31 Oct 2014 Link to this post

    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.

     
  3. Jonas
    Jonas avatar
    33 posts
    Member since:
    Sep 2009

    Posted 31 Oct 2014 in reply to Rosen Vladimirov Link to this post

    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

  4. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 03 Nov 2014 Link to this post

    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.

     
Back to Top