After completing all the necessary steps on firebase.com/docs and upgrading my application to a newer version, I still cannot launch the deployment using firebase-tools .
$ firebase deploy MY_APP_NAME
Gives the following stack:
/usr/local/lib/node_modules/firebase-tools/node_modules/configstore/index.js:53 throw err; ^ Error: EACCES: permission denied, open '/Users/myusername/.config/configstore/update-notifier-firebase-tools.json' You don't have access to this file. at Error (native) at Object.fs.openSync (fs.js:634:18) at Object.fs.readFileSync (fs.js:502:33) at Object.create.all.get (/usr/local/lib/node_modules/firebase-tools/node_modules/configstore/index.js:34:26) at Object.Configstore (/usr/local/lib/node_modules/firebase-tools/node_modules/configstore/index.js:27:44) at new UpdateNotifier (/usr/local/lib/node_modules/firebase-tools/node_modules/update-notifier/index.js:34:17) at module.exports (/usr/local/lib/node_modules/firebase-tools/node_modules/update-notifier/index.js:123:23) at Object.<anonymous> (/usr/local/lib/node_modules/firebase-tools/bin/firebase:5:48) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10)
Reading this Unable to deploy to firebase. Get ENOENT error I tried to apply sudo, which helped a bit more - and the following: $ sudo firebase deploy
after a noticeable pause of 3-5 seconds leads to
Error: Invalid Firebase specified. Having trouble? Try firebase deploy --help
Execution however: $ sudo firebase list
shows that the project exists:
ââââââââââââââââââââââââââŦââââââââââââââââââââââââŦââââââââââââââ â Name â Project ID / Instance â Permissions â ââââââââââââââââââââââââââŧââââââââââââââââââââââââŧâââââââââââââ⤠â MY_APP_NAME (current) â MY_APP_NAME â Owner
Any ideas would be appreciated.
I have NPM 3.8.6 @ Node v6.0.0 @Mac 10.11
source share