2016-01-14 19 views
9

Sadece VS Apache Cordova Tools Update 5'i indiriyorum ve Node ve NPM ile ilgili sorunları yaşıyorum. Test için varsayılan boş cordova projesini kullanıyorum.Düğüm ve NPM VS Cordova güncellemesini güncelleme 5

sürümleri

Ben olsun benim VS Projesi kapsamında Düğüm ve NPM için yudum çek çalıştırırsanız: Node version = v0.10.31 ve NPM version = 1.4.9. Ben 5.4.1 için Cordova CLI değiştirdiğinizde ben enter image description here alıyorum aşağıdaki hatayı olsun ben Cordova CLI 5.3.3 kullanarak yayımlamak zaman

Ancak, ben de Node version = v5.4.1 ve NPM version = 3.3.6

Sorun yüklemiş aşağıdaki hata: enter image description here

Ben Araçlar> Seçenekler> Projeler ve Çözümler> Harici Web Araçları ve aşağıdaki uyarıyı almak yolu C:\Program Files (x86)\nodejs ekleyebilir ve bir npm install failed hata değiştirirseniz . Diğer

Ben use global installed version seçerseniz

npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm 

Ben 5.2.0 olsun. enter image description here

Herhangi bir yardım büyük beğeni topluyor!

İndirme konumu ve VS Cordova Araçları için bilgi güncelleme 5 http://microsoft.github.io/vstacoblog/2016/01/13/annoucing-update-5.html

--------------------------- Güncelleme 1/15/2015 4:50 PMEST --------------------------

Düğüm = 5.4.1 no'lu boş cordova projesi yayınlanırken derleme günlüğü kullanılır. Package.json kullanılarak node-v5.4.1-x86.msi ve NPM = 3.5.3 yüklenmiştir.

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) 

İşte NPM 3.5.3, clearing cordova cache ve

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].2.11 
1> │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │ │ └── [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │ │ │ └── [email protected] 
1> │ │ │ │ │ │ └── [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ └── [email protected] 
1> │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ │ ├── [email protected] 
1> │ │ │ │ │ │ └── [email protected] 
1> │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ │  ├─┬ [email protected] 
1> │ │ │ │ │  │ └── [email protected] 
1> │ │ │ │ │  └─┬ [email protected] 
1> │ │ │ │ │  └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── i[email protected] 
1> │ │ │ └─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── as[email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ └── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├─┬ [email protected] 
1> │ │ │ │ │ └── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └─┬ [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├─┬ [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ ├── [email protected] 
1> │ │ │ │ └── [email protected] 
1> │ │ │ ├── [email protected]4.0.0 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ └─┬ [email protected] 
1> │ │ └── [email protected] 
1> │ ├── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └── [email protected] 
1> │ └── [email protected] 
1> ├── [email protected] 
1> ├─┬ [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └─┬ [email protected] 
1> │ │ └── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ └── [email protected] 
1> ├── [email protected] 
1> ├─┬ [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [email protected] 
1> │ ├─┬ [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ ├── [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├─┬ [email protected] 
1> │ │ │ └── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ ├── [email protected] 
1> │ │ └─┬ [email protected] 
1> │ │ └── [email protected] 
1> │ ├── [email protected] 
1> │ ├── [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 ========== 

npm cache clean çıkardıktan sonra başka yapı günlüğünü var ben Cordova'yı npm install -g cordova yüklemeye powershell veya cmd kullanın aşağıdaki hatayı alıyorum

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 

--- ---------------------------- Güncelleme 2 1/15/2016 --------------- --------- Şimdi görünüyor çalışıyor olmak! Michael Braude'un yorumunu npm -g install npm'a kullandım ve işe yarıyor. Dolaşımda NPM klasörü silerek add and remove programs

  • kaldırıldı UÖM'yi kullanılarak

    1. kaldırıldı Düğüm:

      Ancak, düzeltme önce aşağıdaki yaptı.

    2. Onarılan VS2015

    Ben node5.4.1 - 64 bit, ben de yaradığından emin NPM 3.5.4 olmak için kontrol ve npm -g install [email protected] kullanılan ve işe yaradı güncellenmiş npm -g install npm kullandıktan sonra.

    ek olarak,> Seçenekler> Projeler ve Çözümler> Harici Web Araçları Araçlar 'C:\Program Files (x86)\nodejs ekleyerek Düğüm ve YKY'nin sandboxed (sanırım?) Versiyonunu değiştirdi enter image description here

    ben artık yudum görevi çalıştırmak mümkün duyuyorum hata almadan Task Runner Explorer kullanarak. Geçiş parmakları çalışmaya devam ediyor!

  • cevap

    15

    sorun düğümün "en son kararlı" sürümü ile birlikte gelir NPM sürümü düzgün bizim npm paketlerinden bazı yüklemek olmamasıdır. Bunu düzeltmek için, bir komut istemi açın ve çalıştırın:

    npm'yi en son sürüme güncellemek için. Bu, sorunu çözmeli.

    Düzenleme 2/5/2016 - Bu sorunu gideren Update 6'yı kullanıma sunduk. Daha fazla bilgi için blogumuzu bakınız: http://microsoft.github.io/vstacoblog/2016/02/04/announcing-update-6.html

    (Açıklanması: Visual Studio'da Apache Cordova için araçlar üzerinde çalışmak) Ben bu çalışma almak için şeylerin bir arada yapmak zorunda

    +0

    Çalışmanız için teşekkürler - zamanınız varsa/zamanınız varsa, [Güncelleme 6 başka şeyleri kırmış gibi görünüyor] (http://stackoverflow.com/q/35393247/304683) .. – EdSF

    +1

    Sorunları bildirdiğiniz için teşekkürler 6 güncelleme ile! Güncelleştirme 7 bu düzeltmeleri giderir :) http://microsoft.github.io/vstacoblog/2016/03/01/announcing-update-7.html –

    3

    Npm kullanımdan kaldırılmış npmconf gibi görünüyor, ancak bazı paketler hala güvenebileceğinden otomatik olarak kaldırmıyor. Benim Cordova nmpconf kaldırıp sonra güncellendikten sonra tekrar çalıştırır:

    npm uninstall -g npmconf 
    npm install -g cordova 
    
    +0

    Yardımın için teşekkürler. Ne yazık ki, 'npm install -g cordova' çalıştırdığımda hata alıyorum 'npm ERR! kablosu 1 '. Buna dayanarak, düğümü veya npm ile ilgili bir sorun olduğunu düşünüyorum? –

    7

    tamam.

    Her şeyden önce vs-tac, v5 düğümü ile uyumlu olmayan kenar v4'ü kullanır, böylece vs-tac package.json dosyasını düzenlemek gerekir, böylece v4 yerine v5'e başvurur (bana göre çalışır gibi görünüyor ama kilometreniz değişebilir)

    Michael Braude'ın bahsettiği gibi, buna da ihtiyacınız olacak;

    npm -g install npm 
    

    Nihayet vs-tac'ı bununla yeniden yükleyebilmeniz gerekir;

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

    Bunun sonucu bir hata değilse o zaman dosya vstac_installing.tmp global node_modules klasöründen kaldırıldığını çifte kontrol (c: \ users \ myuser \ AppData \ Roaming \ npm \ node_modules) - Ben onu makinemde el ile kaldırmak için.

    Tüm bunlara rağmen merhaba dünya projem sonunda emülatörde çalışıyor!

    İyi şanslar ...

    +0

    Bunu Update 6'da düzelttik. Lütfen http: //microsoft.github adresine bakın.Daha fazla bilgi için io/vstacoblog/2016/02/04/duyuru-güncelleme-6.html. –

    İlgili konular