-
Notifications
You must be signed in to change notification settings - Fork 340
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
cordova config ls returns Error: ENOENT on clean install #418
Comments
Just curious, I grabbed the latest from npm which is the version cited (9.0.0, [email protected]). I notice that running It appears there is no |
I've just run into this behaviour with clean install of cordova 9.0.0 on MacOS 10.13.6. I have the .config/configstore/ directory in my Home, but there's no cordova-config.json. Is there anything I can do? @mobileben have you been able to solve this problem? |
@Arxi Unfortunately no. Never figured it out, so I am just ignoring it. |
@mobileben seems like manually creating the file |
The issue has been fixed, but there hasn't been a release with the fix yet. That's why you still see this. |
Bug Report
Problem
The configstore dependency was upgraded from 2.1.0 to 4.0.0 in #312. However, as of v4.0.0 configstore no longer creates a configuration file when a config is read (sindresorhus/configstore#57). This causes
cordova config ls
to returnError: ENOENT
ifcordova-config.json
is missing (e.g. on a clean install).What is expected to happen?
The command shouldn't return an error (behavior of 8.1.2):
What does actually happen?
The command returns
Error: ENOENT
:Information
Command or Code
Environment, Platform, Device
Version information
Checklist
The text was updated successfully, but these errors were encountered: