iam trying to install firebase depedencies and it still stuck even after 30 minutes
i've been stuck like 30 minutes
can anyone help me?
CodePudding user response:
you just need firebase on client side
npm i firebase
Install globally or locally as devDependency firebase-cli to deploy, connect, login to your firebase-project
npm i -g firebase-tools
or
npm i -d firebase-tools
- if you use any cloud-function
npm i firebase-admin firebase-functions
CodePudding user response:
It looks like npm cache was corrupted ,but as npm cache clean --force did not work,deleting _cacache directory in C:\Users\User\AppData\Roaming\npm-cache solved my problem.
Then npm install worked just fine.