vs-tac错误 [英] vs-tac error

查看:87
本文介绍了vs-tac错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为Visual Studio安装了最新版本的apache工具之后,我现在在尝试安装vs-tac npm软件包时遇到此错误,因此现在没有构建成功.

after installing the latest version of apache tools for Visual Studio I now get this error trying to install the vs-tac npm package so now no builds succeed.

$ npm install -g'C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ Extensions \ ApacheCordovaTools \ Packages \ vs-tac'
npm WARN引擎npm@1.3.4:想要的:{节点":"> = 0.6","npm":"1"}(当前:{节点":"5.5.0") ;,"npm":"3.3.12"})
npm WARN已过时npmconf@0.1.16:此软件包已重新集成到npm中,相对于npm而言已过时
npm WARN install:rimraf@2.2.0内容:没有这样的文件或目录,chmod'C:\ Users \ jon \ AppData \ Roaming \ npm \ node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ rimraf \ bin.js'
npm WARN install:rimraf@2.2.0 ENOENT:没有这样的文件或目录,chmod'C:\ Users \ jon \ AppData \ Roaming \ npm \ node_modules \ vs-tac \ node_modules \ npm \ node_modules \ rimraf \ bin.js'

> edge@4.0.0安装C:\ Users \ jon \ AppData \ Roaming \ npm \ node_modules \ vs-tac \ node_modules \ edge
>节点工具/install.js

*******************************************
[错误:尚未为node.js v5.5.0版本预编译边缘模块.您必须构建edge.node的自定义版本.请参阅https://github.com/tjanczuk/edge以获得构建说明.]
*******************************************
成功:平台检查edge.js:node.js x64 v5.5.0
C:\ Users \ jon \ AppData \ Roaming \ npm
└──(空)

npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ npm \ node_modules \ cmd-shim
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ npm \ node_modules \ read-installed
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ npm \ node_modules \ read-package-json
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ npm \ node_modules \ rimraf
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ npm \ node_modules \ sha
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ cmd-shim
npm WARN EBUNDLEOVERRIDE将捆绑的node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ read-package-json替换为新安装的版本
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ read-installed
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ rimraf
npm WARN EBUNDLEOVERRIDE用新安装的版本替换捆绑的node_modules \ vs-tac \ node_modules \ cordova-lib \ node_modules \ npm \ node_modules \ sha
npm ERR!代码1

$ npm install -g 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\Packages\vs-tac'
npm WARN engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"5.5.0","npm":"3.3.12"})
npm WARN deprecated npmconf@0.1.16: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN install:rimraf@2.2.0 ENOENT: no such file or directory, chmod 'C:\Users\jon\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\rimraf\bin.js'
npm WARN install:rimraf@2.2.0 ENOENT: no such file or directory, chmod 'C:\Users\jon\AppData\Roaming\npm\node_modules\vs-tac\node_modules\npm\node_modules\rimraf\bin.js'

> edge@4.0.0 install C:\Users\jon\AppData\Roaming\npm\node_modules\vs-tac\node_modules\edge
> node tools/install.js

***************************************
[Error: The edge module has not been pre-compiled for node.js version v5.5.0. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions.]
***************************************
Success: platform check for edge.js: node.js x64 v5.5.0
C:\Users\jon\AppData\Roaming\npm
└── (empty)

npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\npm\node_modules\cmd-shim with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\npm\node_modules\read-installed with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\npm\node_modules\read-package-json with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\npm\node_modules\rimraf with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\npm\node_modules\sha with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\cmd-shim with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\read-package-json with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\read-installed with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\rimraf with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\vs-tac\node_modules\cordova-lib\node_modules\npm\node_modules\sha with new installed version
npm ERR! code 1

推荐答案

似乎Cordova和Ionic不支持NodeJS 5.X,我卸载了nd安装的4.2 x64版本,然后使用npm install -g cordova重新安装了Cordova.
seems Cordova and Ionic do not support NodeJS 5.X, I uninstalled nd installed version 4.2 x64 then reinstalled Cordova using npm install -g cordova.


这篇关于vs-tac错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆