问题
When running cordova commands I started getting this error:
Error: ENOENT: no such file or directory, rename '/Users/johnny/.config/configstore/cordova-config.json.1603791664' -> '/Users/johnny/.config/configstore/cordova-config.json'
Tried reinstalling node, npm, cordova-cli.
回答1:
Solved it by creating the file cordova-config.json
with the content: {}
回答2:
Solved it by deleting the configstore
folder
来源:https://stackoverflow.com/questions/54502489/cordova-cli-commands-fail-on-ios-enoent-cordova-config-json-some-number