cordova cli commands fail on ios: ENOENT cordova-config.json.SOME_NUMBER

房东的猫 提交于 2020-06-26 04:55:28

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!