ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

ReferenceError: argv is not defined on "ionic build"

Open mpatel99 opened this issue 10 years ago • 2 comments

I am trying to build ionic app for ios and android and getting reference error : argv is not defined

ionic app build android

ReferenceError: argv is not defined at Object.IonicTask.get (/usr/local/lib/node_modules/ionic/lib/ionic/login.js:105:16) at Object.IonicTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/app.js:31:9) at Object.run (/usr/local/lib/node_modules/ionic/lib/cli.js:95:32) at Object. (/usr/local/lib/node_modules/ionic/bin/ionic:9:10) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18)

argv is not defined (CLI v1.7.12)

Your system information:

Cordova CLI: 5.4.1 Ionic Version: 1.2.1 Ionic CLI Version: 1.7.12 Ionic App Lib Version: 0.6.5 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v4.2.3 Xcode version: Xcode 7.2 Build version 7C68

mpatel99 avatar Dec 21 '15 19:12 mpatel99

Hello! Are you still having this issue with the latest v1 version of the ionic cli, 1.7.14? Thanks!

jgw96 avatar May 02 '16 20:05 jgw96

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

jgw96 avatar May 09 '16 16:05 jgw96