Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Error: spawn ENOTDIR #131

Open
an-rahulpandey opened this issue Nov 14, 2016 · 0 comments
Open

Error: spawn ENOTDIR #131

an-rahulpandey opened this issue Nov 14, 2016 · 0 comments

Comments

@an-rahulpandey
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant