Aktualisieren von Knoten & NPM VS Cordova update 5
Ich nur die download-VS Apache Cordova Tools-Update 5 und ich bin in Probleme mit Node und NPM. Ich bin mit dem default leer cordova-Projekt für die Prüfung.
Versionen
Wenn ich einen Schluck überprüfen Sie für den Knoten node und NPM in mein VS Projekt, das ich bekommen: Node version = v0.10.31
und NPM version = 1.4.9
. Allerdings habe ich auch installiert Node version = v5.4.1
und NPM version = 3.3.6
Problem
Veröffentlicht, wenn ich mit Cordova CLI 5.3.3 bekomme ich die folgende Fehlermeldung
Wenn ich das Cordova-CLI 5.4.1 bekomme ich die folgende Fehlermeldung:
Wenn ich die Extras > Optionen > Projekte und-Lösungen > Externer Web-Tools und fügen Sie den Pfad C:\Program Files (x86)\nodejs
bekomme ich die folgende Warnung und ein npm install failed
Fehler.
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
Anderen
Wenn ich wählen use global installed version
bekomme ich 5.2.0.
Jede Hilfe wird sehr geschätzt!
Speicherort für den Download-und update-info für VS Cordova-Tools 5
http://microsoft.github.io/vstacoblog/2016/01/13/annoucing-update-5.html
---------------------------Update 1/15/2015 4:50PMEST--------------------------
Hier ist der build-log beim publizieren von leeren cordova-Projekt mit Knoten = 5.4.1
mit node-v5.4.1-x86.msi
und NPM = 3.5.3
installiert mit dem Paket.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)
Hier ist ein weiteres build-log nach dem entfernen NPM 3.5.3
, clearing cordova cache
und 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 ==========
Wenn ich mit der powershell oder cmd zu installieren cordova npm install -g cordova
bekomme ich die folgende Fehlermeldung
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
-------------------------------Update 2 1/15/2016------------------------
Es scheint jetzt zu funktionieren! Ich benutzte Michael Braude Kommentar zu npm -g install npm
und es funktioniert.
Allerdings vor dem Update habe ich Folgendes:
- entfernt Knoten mit
add and remove programs
- entfernt NPM durch das löschen der NPM-Ordner im roaming.
- Repariert VS2015
Nach der Verwendung npm -g install npm
ich aktualisiert node
zu 5.4.1 - 64 bit
habe ich auch überprüft, um sicherzustellen, dass NPM 3.5.4 gearbeitet und verwendet npm -g install [email protected]
- und es funktionierte.
Zusätzlich änderte ich die Sandbox (glaube ich?) version von Node und NPM durch hinzufügen C:\Program Files (x86)\nodejs
Sie zu Extras > Optionen > Projekte und-Lösungen > Externer Web-Tools
Ich bin jetzt in der Lage, um mein gulp-task mit Task Runner Explorer
ohne Fehler erhalten. Kreuzung Finger, dass es weiterhin funktioniert!
InformationsquelleAutor DeanB_Develop | 2016-01-14
Du musst angemeldet sein, um einen Kommentar abzugeben.
Das problem ist, dass die version von npm, der zusammen mit der "latest stable" - version der Knoten nicht richtig installieren einige unserer npm-Pakete. Um dies zu beheben, öffnen Sie eine Eingabeaufforderung, und führen Sie:
Aktualisieren npm auf die neueste version. Sollte dies das problem beheben.
Bearbeiten 2/5/2016 - Wir haben release Update 6, welches dieses problem behebt. Siehe unseren blog für mehr Infos: http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html
(Disclosure: ich arbeite auf der tools für Apache Cordova in Visual Studio)
Vielen Dank für die Berichterstattung die Probleme, die mit update 6! Update 7 behebt diese 🙂 microsoft.github.io/vstacoblog/2016/03/01/...
InformationsquelleAutor Michael Braude
Okay ich hatte zu tun, eine Kombination von Dingen, damit es funktioniert.
Zuerst werden alle vs-tac verwendet Kante v4, die ist nicht kompatibel mit Knoten v5 so müssen Sie zum Bearbeiten der vs-tac-Paket.json-Datei, so dass es bezieht sich auf v5 eher als v4 (es scheint für mich arbeiten, aber Ihre Laufleistung kann variieren)
Weiter als Michael Braude erwähnt, müssen Sie auch dies;
Schließlich sollten Sie in der Lage sein, neu zu installieren, vs-tac mit diesem;
Wenn das Ergebnis dies ist, nicht eine Fehlermeldung, dann überprüfen Sie, dass die Datei
vstac_installing.tmp
wurde entfernt von Ihrem globalen node_modules-Ordner (c:\users\myuser\AppData\Roaming\npm\node_modules) - musste ich manuell entfernen und es auf meinem Rechner.Nachdem alle, die meine Hallo-Welt-Projekt endlich läuft im emulator!
Glück...
InformationsquelleAutor Demented Devil
Sieht aus wie npm veraltet npmconf aber nicht automatisch entfernt, es als Paket möglicherweise noch auf Sie verlassen. Meine cordova läuft wieder nach der deinstallation nmpconf und dann die Aktualisierung cordova:
npm install -g cordova
bekomme ich eine Fehlermeldungnpm ERR! cord 1
. Auf dieser Basis ich denke, es gibt ein problem mit meinem Knoten oder npm?InformationsquelleAutor Olaf