Cordoba Error - "npm does not support Node.js v0.12.9"

When I create a Cordova project in Visual Studio, it gives me the error "npm does not support Node.js v0.12.9", although I have v6.10.3 installed. I have tried the latest versions of npm, both x86 and x64.

He worked, not sure he broke it.

+7
visual-studio npm cordova visual-studio-cordova
source share
2 answers

I again looked at the output of the assembly and noticed that there were other errors, although I do not remember what they were. Perhaps I had to increase the output of the assembly using Tools-> Options-> Projects and Solutions-> Build and Run.

Looking at the xml in .jsproj to see what the build process does, it is shown that it runs C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\Packages\vs-tβ€Œβ€‹ac\install.js script. I put statements in console.log to see exactly what was happening, and somewhere along the way my error disappeared, you don’t know how to do it.

Therefore, I cannot give an exact answer, but this should help other users debug their problems.

0
source share

I had the same problem. Somehow the check "Use a globally installed version of Cordoba" in config.xml did the trick for me.

0
source share

All Articles