小编GER*_*det的帖子

在bluescreen之后,cordova构建android和离子构建android导致"SyntaxError:Unexpected token"

我使用"cordova build android"构建了我的应用程序(cordova,ionic).虽然它是构建我得到一个蓝屏..现在我无法构建应用程序,而不是"离子构建......"或"科尔多瓦构建......"

我已经使用npm更新了nodeJS,cordova和ionic ..但仍然得到了同样的错误,我甚至从今天早上恢复了我的每日备份,错误仍然存​​在.

错误:

C:\***\DEV\App\flugdeck>cordova build android

Running command: "C:\Program Files\nodejs\node.exe" "C:\***\DEV\App\flugdeck\hooks\before_prepare\01_jshint.js" "C:\***\DEV\App\flugdeck"

Linting www/js/app.js
File www/js/app.js has no errors.
-----------------------------------------
Linting www/js/config.js
File www/js/config.js has no errors.
-----------------------------------------
Linting www/js/controllers.js
File www/js/controllers.js has no errors.
-----------------------------------------
Linting www/js/controller_flightlog.js
File www/js/controller_flightlog.js has no errors.
-----------------------------------------
Linting www/js/controller_infotools.js
File www/js/controller_infotools.js has no errors.
-----------------------------------------
Linting www/js/controller_timetools.js
File www/js/controller_timetools.js has no errors.
-----------------------------------------
Linting www/js/directives.js
File www/js/directives.js has no errors.
-----------------------------------------
Linting www/js/factories.js
File www/js/factories.js has no errors.
-----------------------------------------
Linting …
Run Code Online (Sandbox Code Playgroud)

build cordova ionic

1
推荐指数
1
解决办法
4122
查看次数

标签 统计

build ×1

cordova ×1

ionic ×1