Comments (5)
Likely there is some kind of config issues with your firebase project. I would advice you to follow the instructors in the documentation and deploy a "hello world" function first ensuring that work and then changing this code to the pairing function in this repository.
Firebase function docs: https://firebase.google.com/docs/functions
from airdash.
i'm facing the same issue, were you able to solve it?
from airdash.
Add me to the "me too" list.
from airdash.
Must be some missing/wrong in the readme then. Some suggestions
- Does it work if you run "firebase deploy"? ie without the only flag.
- Does it work to deploy a function if following official get started guide? https://firebase.google.com/docs/functions/get-started?gen=2nd
from airdash.
Okay.
This led me to a bunch of things I needed to do.
On the Firebase admin page, I had to enable functions, which required me to set up billing and also to upgrade the project (I wasn't clear what this did), but seemed a separate step, required to turn on billing. which appears to be needed to turn on functions.
In the course of doing this, it walked me through doing a few things. Note that I chose to turn on linting when I installed firebase-tools, which is part of what I have to follow up on. Also, the latest version of firebase-tools appears to not work on Mac (I get /bin/sh: --: invalid option
, so I had to downgrade firebase-tools:
npm -g install [email protected] #12.1.0 might work
npm install eslint
Also removed this:
,
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
]
from firebase.json.
It seems my particular version of node (21) doesn't work. I tried this:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
brew install node@22
node -v
v22.6.0
firebase deploy
now gives me:
Error: Detected node engine >=16 in package.json, which is not a supported version. Valid versions are 10, 12, 14, 16, 18, 20, 22
I tried to fix this with "node": ">=16"
in package.json, but as you see it still doesn't work. So I changed it to "22". Now I get:
Failed to create function projects/qrit-47b40/locations/us-central1/functions/pairing
.
I've tried to get this to work, and I've changed a bunch of things so far without success.
Honestly, it looks like someone from this project should try going through this process themselves, although I will keep trying, but I will have trouble producing accurate instructions with all the flailing around I'm doing.
Also, it's a little troubling that I have to turn on billing, given that the instructions have us using an anonymous endpoint, so if we could not do that (it looks like billing is required for functions, so this probably means not using an anonymous account), that would probably be good.
from airdash.
Related Issues (20)
- Feature Request: Automatic Pairing with WebRTC HOT 5
- Feature Request, linux version HOT 3
- Sending multiple files at once HOT 2
- Fix duplicate analytics logs HOT 1
- Improve Android App icon HOT 1
- Add way to change file location on desktop HOT 2
- Connection Failed HOT 10
- Failed to build project HOT 3
- Failed to build project HOT 1
- change firebase project id and api key show error HOT 3
- Support for live-streaming mp4 files HOT 4
- showing black screen HOT 5
- Congratulations + questions ? HOT 6
- Unable to save file after transfer HOT 1
- Airdash Android App Heavy UI Stutter HOT 1
- Feature request: Homebrew install HOT 8
- Invalid text encoding in file picker on Linux
- gRPC Error on launch HOT 4
- Repeated ping errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airdash.