I am new to mobile development, trying to build blank ionic android app on visual studio 2015. However, getting below error:
1>MSBUILD : cordova-build error : Syntax Error: C:\Users\{username}\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\6.2.0\node_modules\cordova\node_modules\cordova-lib\node_modules\request\node_modules\tough-cookie\lib\cookie.js:32
1> SyntaxError C:\Users\{username}\AppData\Roaming\npm\node_modules\vs-tac\node_modules\cordova\6.2.0\node_modules\cordova\node_modules\cordovalib\node_modules\request\node_modules\tough-cookie\lib\cookie.js:32
1>MSBUILD : cordova-build error : const punycode = require("punycode");
1> const punycode = require("punycode");
1>MSBUILD : cordova-build error : ^^^^^
1>MSBUILD : cordova-build error : Use of const in strict mode.
1> Use of const in strict mode.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
from Cordova ionic 1 visual studio build failed
No comments:
Post a Comment