Ho appena scaricato l'aggiornamento 5 di VS Apache Cordova Tools e sto riscontrando problemi con Node e NPM. Sto usando il progetto cordova vuoto di default per i test.Aggiornamento Node e aggiornamento NPM VS Cordova 5
Versioni
Se corro un assegno sorso per Node e NPM nel mio progetto VS ottengo: Node version = v0.10.31
e NPM version = 1.4.9
. Tuttavia, ho anche installato Node version = v5.4.1
e NPM version = 3.3.6
Problema
quando pubblico utilizza Cordova CLI 5.3.3 ottengo il seguente errore quando cambio la Cordova CLI per 5.4.1 ottengo il seguente errore:
Se cambio i Strumenti> Opzioni> Progetti e Soluzioni> Strumenti Web esterni e aggiungere il percorso C:\Program Files (x86)\nodejs
ottengo il seguente avvertimento e un errore npm install failed
.
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
Altro
Se seleziono use global installed version
ottengo 5.2.0.
Qualsiasi aiuto è molto apprezzato!
Scarica posizione e aggiornare le informazioni per VS Cordova Strumenti 5 http://microsoft.github.io/vstacoblog/2016/01/13/annoucing-update-5.html
--------------------------- Update 1/15/2015 4:50 PMEST --------------------------
Ecco il registro di generazione quando si pubblica il progetto vuoto cordova con il nodo = 5.4.1
utilizzando node-v5.4.1-x86.msi
e NPM = 3.5.3
installati utilizzando package.json.
1>------ Build started: Project: BlankCordovaApp4, Configuration: Debug Android ------
1> Your environment has been set up for using Node.js 5.4.1 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 1.0.28
1> ------ Package already installed globally at correct version.
1> ------ Installing Cordova tools [email protected] for project from npm. This could take a few minutes...
1> Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
1> npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
1> npm ERR! Windows_NT 6.3.9600
1> npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\DBiele\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "[email protected]" "--loglevel" "warn"
1> npm ERR! node v5.4.1
1> npm ERR! npm v3.3.6
1>
1> npm ERR! Cannot read property 'localeCompare' of undefined
1> npm ERR!
1>MDAVSCLI : npm ERR! If you need help, you may report this error at:
1> npm ERR! <https://github.com/npm/npm/issues>
1>
1> npm ERR! Please include the following file with any support request:
1> npm ERR! C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\5.4.1\npm-debug.log
1> [Error: ------ npm install failed. Exit code: 1]
1> C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\node_modules\q\q.js:126
1> throw e;
1> ^
1>
1>MDAVSCLI : error : ------ npm install failed. Exit code: 1
1> at ChildProcess.<anonymous> (C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\lib\util.js:655:29)
1> at emitTwo (events.js:87:13)
1> at ChildProcess.emit (events.js:172:7)
1> at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
Ecco un altro log di compilazione dopo la rimozione NPM 3.5.3
, clearing cordova cache
e npm cache clean
1>------ Build started: Project: BlankCordovaApp4, Configuration: Debug Android ------
1> Your environment has been set up for using Node.js 5.4.1 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 1.0.28
1> ------ Package not currently installed globally.
1> ------ Installing globally from source package. This could take a few minutes...
1> Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
1> npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
1> npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"5.4.1","npm":"3.3.6"})
1> C:\Users\DBiele\AppData\Roaming\npm\vs-tac-cli -> C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\vs-tac-cli.cmd
1> > [email protected] install C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\node_modules\edge
1> > node tools/install.js
1> ***************************************
1> [Error: The edge module has not been pre-compiled for node.js version v5.4.1. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions.]
1> ***************************************
1> Success: platform check for edge.js: node.js ia32 v5.4.1
1> C:\Users\DBiele\AppData\Roaming\npm
1> └─┬ [email protected]
1> ├── [email protected]
1> ├─┬ [email protected]
1> │ ├── [email protected]
1> │ └── [email protected]
1> ├─┬ [email protected]
1> │ └── [email protected]
1> ├─┬ [email protected]
1> │ ├── [email protected]
1> │ └── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├─┬ [email protected]
1> │ ├── [email protected]
1> │ └── [email protected]
1> ├─┬ [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ ├── [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ │ └── [email protected]
1> │ │ │ │ │ └─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ └─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ └── [email protected]
1> │ ├─┬ [email protected]
1> │ │ └── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├─┬ [email protected]
1> │ │ │ │ │ └── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └─┬ [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├─┬ [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ ├── [email protected]
1> │ │ │ │ └── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ └─┬ [email protected]
1> │ │ └── [email protected]
1> │ ├── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ └── [email protected]
1> │ └── [email protected]
1> ├── [email protected]
1> ├─┬ [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ └─┬ [email protected]
1> │ │ └── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ └── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ └── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ └── [email protected]
1> ├── [email protected]
1> ├─┬ [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ ├─┬ [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ ├── [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├─┬ [email protected]
1> │ │ │ └── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ ├── [email protected]
1> │ │ └─┬ [email protected]
1> │ │ └── [email protected]
1> │ ├── [email protected]
1> │ ├── [email protected]
1> │ └─┬ [email protected]
1> │ └─┬ [email protected]
1> │ └─┬ [email protected]
1> │ └── [email protected]
1> ├── [email protected]
1> └─┬ [email protected]
1> └── [email protected]
1> ------ npm install of [email protected] from C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\APACHECORDOVATOOLS\packages\vs-tac completed.
1> ------ Installing Cordova tools [email protected] for project from npm. This could take a few minutes...
1> Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
1> npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
1> npm ERR! Windows_NT 6.3.9600
1> npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\DBiele\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "[email protected]" "--loglevel" "warn"
1> npm ERR! node v5.4.1
1> npm ERR! npm v3.3.6
1>
1> npm ERR! Cannot read property 'localeCompare' of undefined
1> npm ERR!
1>MDAVSCLI : npm ERR! If you need help, you may report this error at:
1> npm ERR! <https://github.com/npm/npm/issues>
1>
1> npm ERR! Please include the following file with any support request:
1> npm ERR! C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\5.4.1\npm-debug.log
1> [Error: ------ npm install failed. Exit code: 1]
1> C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\node_modules\q\q.js:126
1> throw e;
1> ^
1>
1>MDAVSCLI : error : ------ npm install failed. Exit code: 1
1> at ChildProcess.<anonymous> (C:\Users\DBiele\AppData\Roaming\npm\node_modules\vs-tac\lib\util.js:655:29)
1> at emitTwo (events.js:87:13)
1> at ChildProcess.emit (events.js:172:7)
1> at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Quando uso powershell cmd o installare Cordova npm install -g cordova
ottengo il seguente errore
C:\Users\DBiele>npm install -g cordova
npm WARN deprecated [email protected]: this package has been reintegrated into npm a
nd is now out of date with respect to npm
npm WARN install:isarray ENOENT: no such file or directory, rename 'C:\Users\DBi
ele\AppData\Roaming\npm\node_modules\cordova\node_modules\buffer\node_modules\is
array' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules
\buffer\node_modules\isarray'
npm WARN install:negotiator ENOENT: no such file or directory, rename 'C:\Users\
DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\express\node_module
s\negotiator' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_
modules\express\node_modules\negotiator'
npm WARN install:vary ENOENT: no such file or directory, rename 'C:\Users\DBiele
\AppData\Roaming\npm\node_modules\cordova\node_modules\express\node_modules\vary
' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\expr
ess\node_modules\vary'
npm WARN install:object-assign ENOENT: no such file or directory, rename 'C:\Use
rs\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\got\node_modules
\object-assign' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\nod
e_modules\got\node_modules\object-assign'
npm WARN install:convert-source-map ENOENT: no such file or directory, rename 'C
:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\insert-modu
le-globals\node_modules\convert-source-map' -> 'C:\Users\DBiele\AppData\Roaming\
npm\node_modules\cordova\node_modules\insert-module-globals\node_modules\convert
-source-map'
npm WARN install:graceful-fs ENOENT: no such file or directory, rename 'C:\Users
\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\write-file-atomic\
node_modules\graceful-fs' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\c
ordova\node_modules\read-package-json\node_modules\graceful-fs'
npm WARN install:deep-extend ENOENT: no such file or directory, rename 'C:\Users
\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\registry-url\node_
modules\deep-extend' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordov
a\node_modules\registry-url\node_modules\deep-extend'
npm WARN install:strip-json-comments ENOENT: no such file or directory, rename '
C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\registry-u
rl\node_modules\strip-json-comments' -> 'C:\Users\DBiele\AppData\Roaming\npm\nod
e_modules\cordova\node_modules\registry-url\node_modules\strip-json-comments'
npm WARN install:mime-types ENOENT: no such file or directory, rename 'C:\Users\
DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\request\node_module
s\mime-types' -> 'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_
modules\request\node_modules\mime-types'
npm WARN install:qs ENOENT: no such file or directory, rename 'C:\Users\DBiele\A
ppData\Roaming\npm\node_modules\cordova\node_modules\request\node_modules\qs' ->
'C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\request\
node_modules\qs'
[email protected] node_modules\cordova\node_modules\buffer\node_modules\isarray -> n
ode_modules\cordova\node_modules\buffer\node_modules\isarray
[email protected] node_modules\cordova\node_modules\express\node_modules\negotiat
or -> node_modules\cordova\node_modules\express\node_modules\negotiator
[email protected] node_modules\cordova\node_modules\express\node_modules\accepts ->
node_modules\cordova\node_modules\express\node_modules\accepts
[email protected] node_modules\cordova\node_modules\express\node_modules\vary -> node_m
odules\cordova\node_modules\express\node_modules\vary
[email protected] node_modules\cordova\node_modules\got\node_modules\object-as
sign -> node_modules\cordova\node_modules\got\node_modules\object-assign
[email protected] node_modules\cordova\node_modules\insert-module-globals
\node_modules\convert-source-map -> node_modules\cordova\node_modules\insert-mod
ule-globals\node_modules\convert-source-map
[email protected] node_modules\cordova\node_modules\write-file-atomic\node_modul
es\graceful-fs -> node_modules\cordova\node_modules\read-package-json\node_modul
es\graceful-fs
[email protected] node_modules\cordova\node_modules\registry-url\node_modules\de
ep-extend -> node_modules\cordova\node_modules\registry-url\node_modules\deep-ex
tend
[email protected] node_modules\cordova\node_modules\registry-url\node_mo
dules\strip-json-comments -> node_modules\cordova\node_modules\registry-url\node
_modules\strip-json-comments
[email protected] node_modules\cordova\node_modules\request\node_modules\mime-typ
es -> node_modules\cordova\node_modules\request\node_modules\mime-types
[email protected] node_modules\cordova\node_modules\request\node_modules\qs -> node_modul
es\cordova\node_modules\request\node_modules\qs
[email protected] node_modules\cordova\node_modules\cordova-lib\node_module
s\request\node_modules\bl\node_modules\readable-stream -> node_modules\cordova\n
ode_modules\browser-pack\node_modules\readable-stream
[email protected] node_modules\cordova\node_modules\cordova-lib\node_modules\request\node
_modules\bl -> node_modules\cordova\node_modules\bl
[email protected] node_modules\cordova\node_modules\cordova-lib\node_modules\reques
t -> node_modules\cordova\node_modules\request
[email protected] node_modules\cordova\node_modules\cordova-lib\node_modules\npmconf
-> node_modules\cordova\node_modules\npmconf
[email protected] node_modules\cordova\node_modules\cordova-lib\node_modules\glob -> no
de_modules\cordova\node_modules\glob
[email protected] node_modules\cordova\node_modules\cordova-lib\node_modules\tar -> node
_modules\cordova\node_modules\tar
- C:\Users\DBiele\AppData\Roaming\npm\node_modules\cordova\node_modules\write-fi
le-atomic node_modules\cordova\node_modules\write-file-atomic
C:\Users\DBiele\AppData\Roaming\npm
└── (empty)
npm ERR! code 1
--- ---------------------------- Aggiornamento 2 15/01/2016 --------------- --------- Ora appare lavorare! Ho usato il commento di Michael Braude a npm -g install npm
e funziona.
Tuttavia, prima che la correzione ho fatto la seguente:
- nodo rimosso utilizzando
add and remove programs
- NPM rimosso eliminando la cartella NPM in roaming.
- VS2015 riparato
Dopo aver utilizzato npm -g install npm
ho aggiornato node
-5.4.1 - 64 bit
, ho anche controllato per assicurarsi che NPM 3.5.4 lavorato e usato npm -g install [email protected]
e ha funzionato.
Inoltre, ho cambiato la modalità sandbox (credo?) Versione di Node e NPM aggiungendo C:\Program Files (x86)\nodejs
Strumenti> Opzioni> Progetti e Soluzioni> Strumenti Web esterno
sono ora in grado di eseguire il mio compito gulp utilizzando Task Runner Explorer
senza ottenere errori. Incrociando le dita che continua a funzionare!
Grazie per il vostro lavoro - se/quando avete tempo, apprezzate la guida poiché [l'aggiornamento 6 sembra aver rotto altre cose] (http://stackoverflow.com/q/35393247/304683) .. – EdSF
Grazie per aver segnalato i problemi con l'aggiornamento 6! L'aggiornamento 7 corregge quelli :) http://microsoft.github.io/vstacoblog/2016/03/01/announcing-update-7.html –