This repository was archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
Error: spawn ENOTDIR #131
Copy link
Copy link
Open
Description
I am getting this error -
Caught exception:
Error: spawn ENOTDIR
at exports._errnoException (util.js:907:11)
at ChildProcess.spawn (internal/child_process.js:298:11)
at Object.exports.spawn (child_process.js:362:9)
at spawn (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cross-spawn/index.js:17:18)
at getCommandInfo (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/info.js:48:14)
at Object.gatherInfo (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/info.js:131:5)
at Object.doRuntimeCheck (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/lib/cli.js:692:17)
at Object.run (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/lib/cli.js:51:9)
at Object.<anonymous> (/home/rahul/.nvm/versions/node/v4.6.1/lib/node_modules/ionic/bin/ionic:13:10)
at Module._compile (module.js:409:26)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
As a workaround I commented out this two lines -
Commented out this two lines-
https://github.com/driftyco/ionic-app-lib/blob/master/lib/info.js#L131
https://github.com/driftyco/ionic-app-lib/blob/master/lib/info.js#L132
//getCommandInfo('ios-deploy', ['--version']),
//getCommandInfo('ios-sim', ['--version']),
I have also opened the issue here -
ionic-team/ionic-cli#1653
Metadata
Metadata
Assignees
Labels
No labels