Visual studio 2015
,Cordova 6.5.0
。 xcode 8.3
和ios 10.2
。
我试图在本地设备上调试ios的cordova app。一切都很好。但是我需要升级vs-tac来安装最新的调试库以便成功调试。它建议我使用“Clear Cordova Cache”来获取最新的vs-tac库,以便在ios设备中调试应用程序。
当我使用“清除cordova缓存”时,整个世界问题开始了,我一直坚持以下问题,尽管提出了所有建议的解决方案,但我无法解决。
我重新安装了nodejs。我清理了几次缓存。我重新安装了cordova。我检查了路径以及我实施的更多建议步骤,但错误保持不变。
任何人都可以在这里发光!
错误文字:
npm WARN npm npm does not support Node.js v0.12.9
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
C:\Users\Ekambarrao\AppData\Roaming\npm\vs-tac-cli -> C:\Users\Ekambarrao\AppData\Roaming\npm\node_modules\vs-tac\vs-tac-cli.cmd edge-cs@0.3.0 install C:\Users\Ekambarrao\AppData\Roaming\npm\node_modules\vs- tac\node_modules\edge-cs
node tools/install.js
------ npm install failed. Exit code: 1
------ Package installation failed. Retrying...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(285,5): error : Error installing local npm package.
MSBUILD : cordova-build error : module.js:338
module.js:338
MSBUILD : cordova-build error : throw err;
throw err;
MSBUILD : cordova-build error :
MSBUILD : cordova-build error BLD401: Error : BLD00401 : Could not find module 'C:\Users\Ekambarrao\AppData\Roaming\npm\node_modules\vs-tac\app.js'. Please Go to Tools --> Options --> Tools for Apache Cordova --> Cordova Tools --> Clear Cordova Cache and try building again.
Error Cannot find module 'C:\Users\Ekambarrao\AppData\Roaming\npm\node_modules\vs-tac\app.js'
MSBUILD : cordova-build error : at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._resolveFilename (module.js:336:15)
MSBUILD : cordova-build error : at Function.Module._load (module.js:278:25)
at Function.Module._load (module.js:278:25)
MSBUILD : cordova-build error : at Function.Module.runMain (module.js:501:10)
at Function.Module.runMain (module.js:501:10)
MSBUILD : cordova-build error : at startup (node.js:129:16)
at startup (node.js:129:16)
MSBUILD : cordova-build error : at node.js:814:3
at node.js:814:3
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========