All Questions
85 questions
2
votes
0
answers
35
views
running mocha in the context of a npm script works but running it directly from command line does not
So when I run npm run test_w_emulator or npm run test_w_pure
my mocha test completes properly
package.json
"scripts": {
"test_w_emulator": "sh ./test.sh",
"...
0
votes
0
answers
86
views
Testing React + Firebase with emulator
I have a Firebase project where I'm using Firebase Functions and Hosting, and React for the frontend. During firebase init, I set build as my hosting directory, which is created by npm run build.
For ...
0
votes
1
answer
164
views
Firebase tools npm install not functioning
I am creating a flutter app and trying to connect it to firebase. I was previously having issues with the node and npm versions, but I have now updated the to the latest version.
When I enter the ...
0
votes
0
answers
30
views
Command 'npm install -g firebase-tool' gets stuck during installation on MacOS Ventura
Trying to install firebase-tools using the command npm install -g firebase-tool but it's stuck here
idealTree:morgan: MOOD DlaceDep node_modules/firebase—tools on—[email protected] OK for: body—parser@1....
0
votes
2
answers
732
views
Command not found - firebase login/firebase-tools
node -v
v16.20.0 (I have tried new versions as well)
npm -v
9.8.0
I am trying to get a website up and running on firebase and have not gotten past step 1. In my projects folder I am running BASH and ...
0
votes
1
answer
2k
views
npm ERR! enoent This is related to npm not being able to find a file. Why is this happening? I tried downloading firebase tools but it doesn't work
I am trying to set up firebase-tools in my computer but I keep getting errors when trying to do so. I keep getting all these errors when trying to do it:
npm WARN deprecated [email protected]: this ...
7
votes
6
answers
4k
views
Firebase function deployment fails with 'missing' dependencies error
I am encountering an error when attempting to deploy a Firebase function. Despite deleting node_modules and package-lock.json, running npm install, and executing firebase deploy --only functions many ...
0
votes
0
answers
67
views
unable to install firebase using npm
Hi I am following a tutorial using firebase (its quite an old version) when I try to install firebase it will not install as all.
I am using npm install [email protected] --save, i have also used npm ...
0
votes
0
answers
125
views
I cannot deploy my website even though firebase is installed
I am trying to download firebase, but even after I run:
npm install -g firebase-tools
I get:
zsh: command not found: firebase
when trying: firebase -v
could it have something to do with:
npm WARN ...
2
votes
1
answer
916
views
Using firebase cli when not installed globally
I'm using my work computer while developing a sort of side project. Nothing crazy just learning some new firebase stuff. Anyways, because it is a work computer I can't install modules globally. So ...
6
votes
3
answers
1k
views
Husky prepare script failing firebase function deployment
I have installed husky in my npm project as a prepare script like below
{
"name": "functions",
"scripts": {
"build": "tsc",
"start&...
2
votes
0
answers
257
views
Why I am getting errors while installing firebase-tools using npm?
I am installing firebase-tools using npm i firebase-tools
**Errors are :
**
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network ...
2
votes
1
answer
714
views
How do I deploy to firebase functions without npm dependency conflict?
I am trying to deploy an angular universal project. When I run npm run build:ssr it compiles correctly. I am able to run the emulators without any issue. But when I try to deploy with firebase deploy ...
2
votes
2
answers
985
views
Multiple Versions of Firebase Installed - Which Do I Use?
I'm trying to build an app with Firebase and ran a few commands to see which version I have. To follow along with a 2021 instruction video, I was hoping to have Firebase v9. Depending on the command ...
1
vote
1
answer
563
views
Firebase emulators:exec with 'npm test' script returns immediately
I'm running some React integration tests with npm, and need the Firebase emulator for them. I've set up my npm scripts as follows:
"scripts": {
"test:integration:runner": "...