5

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.

syonip
  • 2,469
  • 22
  • 26

2 Answers2

13

Solved it by creating the file cordova-config.json with the content: {}

Lucas Rueda
  • 176
  • 2
  • 5
0

Solved it by deleting the configstore folder

syonip
  • 2,469
  • 22
  • 26