I am trying to host a node app using firebase functions. Now everything works fine. I run the command
firebase init functions
Then I follow the steps. (Firebase tools are correctly installed).
Then after some steps it asks me to
Do you want to install dependencies with npm now? Yes
I say yes and then it does something at at a point it is stuck.
This is the screenshot
The solutions I tried.
I tried running the following command on functions folder
npm install --verbose
It doesn't displays any clue as well here is the screenshot.
I also tried reinstalling node, reinstalling the whole firebase cli. I cleared npm cache and tried. Nothing work so far.
Here is my package.json file.
{
"name": "functions",
"description": "Cloud Functions for Firebase",
"scripts": {
"serve": "firebase serve --only functions",
"shell": "firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"dependencies": {
"firebase-admin": "~6.0.0",
"firebase-functions": "^2.1.0"
},
"private": true
}
Any help would be appreciated. Thank You
from Firebase Functions npm install is always stuck


No comments:
Post a Comment