1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 2: 1> : command not found 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 3: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 4: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 5: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 6: prepare: command not found 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 6: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 7: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 8: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 9: //: is a directory 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 10: 1> : command not found 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 11: syntax error near unexpected token
(' 1> /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js: line 11:
var fs = require('fs'); 1> ' 1> Command finished with error code 2: /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp 1> 爲 buildNumber 583 生成應用失敗: Hook failed with error code 2: /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js 1>MSBUILD : cordova-build error : Error: 生成服務器 生成失敗,錯誤 Hook failed with error code 2: /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js 中的遠程生成錯誤 - 1 1> Error 生成服務器 生成失敗,錯誤 Hook failed with error code 2: /Users/hu/.taco_home/remote-builds/taco-remote/builds/583/cordovaApp/hooks/after_prepare/010_add_platform_class.js 中的遠程生成錯誤 - {1}鉤,錯誤代碼2
失敗,當我啓動遠程代理在安全模式下的vs2015,調試模式:iphone6s
嘗試複製/粘貼掛鉤文件的新副本。它似乎有無效的字符,如錯誤的行結尾。或者,在VS中自行更改結束符。 –
@hochiaozhong你有沒有想過呢? –