Skip to content
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

Error: ENOENT, no such file or directory '<path>/plugins/ios.json' when trying to add a platform #16

Open
qpwr opened this issue Feb 5, 2016 · 3 comments

Comments

@qpwr
Copy link

qpwr commented Feb 5, 2016

I'm trying to build my own version of the viewer app with custom plugins. I downloaded the latest release and tried to add android/ios as platforms, but I receive the error mentioned on the title. This is the full error log:

qbook:EvothingsViewer qpwr [master]$ cordova platform add ios
Creating ios project...
Error: ENOENT, no such file or directory '/Users/qpwr/CordovaApps/EvothingsViewer/plugins/ios.json'
    at Object.fs.openSync (fs.js:438:18)
    at Object.fs.writeFileSync (fs.js:977:15)
    at Object.save_platform_json (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:476:8)
    at PlatformMunger_process [as process] (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:401:13)
    at Object.exports.process (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:80:12)
    at Object.handlePrepare (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/prepare.js:72:20)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:102:25
    at Array.map (native)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:66:40
    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
@mrcbnsls
Copy link

Any news on this issue?

@gparuthi
Copy link

gparuthi commented Jan 3, 2017

You can get around this issue by adding android platform first.

@hervehobbes
Copy link

Hello,

Same problem for me.
Adding Android did not solved the problem.

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

No branches or pull requests

4 participants