-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with 1.2.1 #84
Comments
Could you paste the error here @danda1man? |
Looks like 1.2.2 has the issue still (had to reupgrade to get the error). Error if config is in the www folder instead of the root directory: D:\approot>ionic run android C:\Users***\AppData\Roaming\npm\node_modules\ionic\lib\ionic\cordova.js:33 Error if I move config out to the root: C:\Users***\AppData\Roaming\npm\node_modules\ionic\lib\ionic\cordova.js:33 |
I've made some error handling updates, would you be able to test out |
Works! Compile successful |
Great, thanks for testing! |
It appears that this issue is resurfacing in v1.2.13: Error parsing /Users/Robin/Apps/project-name/config.xml: TypeError: Cannot read property '0' of undefined (CLI v1.2.13)
path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at Object.IonicTask.loadSettings (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:69:26)
at Object.IonicTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:33:8)
at Object.Ionic.run (/usr/local/lib/node_modules/ionic/lib/ionic.js:495:18)
at Object.<anonymous> (/usr/local/lib/node_modules/ionic/bin/ionic:10:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32) Edit: This worked for me: |
@rvanbaalen tks! |
I'm getting an issue trying to build/run with 1.2.1, throws and error looking for the config.xml that is not in the root (in www). I moved the file to the root but then it threw an error about not being able to read property "0" of undefined. Downgraded to 1.2.0 and its working fine again
The text was updated successfully, but these errors were encountered: