locked
Simulator cannot find vs-tac in VirtualBox VM RRS feed

  • Question

  • Running VS on a Mac using VirtualBox VM in order to publish Cordova apps on Apple Store. I can no longer build and used documentation here to re-install vs-tac (https://taco.visualstudio.com/en-us/docs/configure-vs-tools-apache-cordova/#vstac).

    I receive these errors when reinstalling vs-tac:

    npm ERR! Windows_NT 10.0.10586
    npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\Extensions\\ApacheCordovaTools\\Packages\\vs-tac"
    npm ERR! node v4.4.7
    npm ERR! npm  v2.15.8
    npm ERR! file C:\Users\<User>\AppData\Roaming\npm-cache\nan\2.4.0\package\package.json
    npm ERR! code EJSONPARSE
    npm ERR! Failed to parse json
    npm ERR! Unexpected token '\u0000' at 1:1
    npm ERR!
    npm ERR! ^
    npm ERR! File: C:\Users\<User>\AppData\Roaming\npm-cache\nan\2.4.0\package\package.json
    npm ERR! Failed to parse package.json data.
    npm ERR! package.json must be actual JSON, not just JavaScript.
    npm ERR!
    npm ERR! This is not a bug in npm.
    npm ERR! Tell the package author to fix their package.json file. JSON.parse
    npm ERR! Please include the following file with any support request:
    npm ERR!     C:\Users\<User>\npm-debug.log

    When I try to build Cordova apps I get this error:

    Error installing local npm package.       Microsoft.MDA.Fil 285 eMirroring.targets

    module.js:338

    throw err

    Error: BLD00401: Count find module 'C:\Users\<User>\AppData\Roaming\npm\node_modules\vs-tac\app.js' Please go to Tools --> Options --> Tools for Apache Clear Cordova Cache and try again

    Note that I have cleared the cache repeatedly but it did not have an effect.....

    Friday, October 7, 2016 7:38 PM

All replies

  • Greetings,

    As this looks to me like requires investigation, so I would suggest you to create support ticket and someone form the team will help you.

    https://www.visualstudio.com/support/

    Thank you for understanding.

    Regards,

    Saturday, October 8, 2016 12:53 PM