I'm trying to install firebase ^5.5.0 on my local environment (vagrant/virtualbox with ubuntu 16.0.4 and the newest npm and nodejs)
When I run npm install
I get this error:
npm ERR! path /code/node_modules/grpc/node_modules/mkdirp/node_modules/minimist/package.json.789167206 npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/code/node_modules/grpc/node_modules/mkdirp/node_modules/minimist/package.json.789167206' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent
npm ERR! A complete log of this run can be found in: npm ERR!
/home/vagrant/.npm/_logs/2018-09-19T09_14_46_808Z-debug.log
The logs or verbose don't tell me anything other than this. How can I solve this?
npm install -g firebase
instead. That said, if you are trying to install firebase to a specific folder/project make sure you have apackage.json
present in the folder you run the command in. – Carlo Fieldpackage-lock.json
and yournode_modules
folder and re-runningnpm install
? – Carlo Field/code/node_modules/@firebase/firestore/node_modules/grpc/node_modules/mkdirp/node_modules/minimist/package.json.1879144488
Where/code/node_modules/@firebase/firestore/
does not exist on the system, onlyfirestore-types
– Maarten Raaijmakers