Monday, 24 August 2020

Cordova ionic 1 visual studio build failed

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

1 comment:

  1. Explore our collection of Funny Quotes on Life in Hindi with Images. Here you can get all types of Funny Quotes in Hindi for Love, Friendship or Funny Life with images.

    ReplyDelete