Unable to build Apache Cordova Project in Visual Studio 2015 Professional


When i create new Apache Cordova project in VS2015 Pro, i cant build the project.

I get an error saying that:

Error BLD401 Error : BLD00401 : Could not find module 'C:\Users\Bruker-NRX\AppData\Roaming\npm\node_modules\vs-tac\app.js'. Please Go to Tools --> Options --> Tools for Apache Cordova --> Cordova Tools --> Clear Cordova Cache and try building again. AngularJsGoogleMap 1 Build
error on build

This error is described here on anothe articale, but the solution wont work in my case:

And on MSDN how to configure Apache Cordova Tools:

he first thing happen when i create Apache Cordova is the error iam getting explained above.

Then i install npm by navigating in command prompt to my vs-tac folder located in folder(e:\Visual Studio\Programsfiles\Common7\IDE\Extensions\ApacheCordovaTools\Packages\vs-tac\ )

And run "npm -g install"

But i get an error , se pic:
Some how on google i find out that this issue is because of missing package.json file in vs-tac folder.
So i just run npm init
And after that i re-run npm -g install (succsessfully)
And then i clear the cordova cache and restart the VS2015......But still iam getting the same error....

Error shown in VS2015:
And the output looks like:
and i cant find any npm-debug-log file in my vs-tac folder....???
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Randy DownsOWNERCommented:
Maybe this will help.

    Close all VS instances
    cd %appdata%\Local\Microsoft\Phone Tools”
    rename CoreCon folder
    Launch VS again.

or this
npm install -g cordova
npm install -g "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac"

Open in new window

C:\Temp>git clone https://github.com/phonegap/phonegap-plugin-fast-canvas.git

Open in new window

From project folder and run

cordova plugin add C:\Temp\phonegap-plugin-fast-canvas\

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AdnanAuthor Commented:
I've requested that this question be deleted for the following reason:

deleting abbonded question
Randy DownsOWNERCommented:
What was the solution. Did my answer help at all?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.