Comments (7)
thanks for sharing @jthegedus , this looks great! You should consider making a PR to https://github.com/firebase/functions-samples, I'm sure others would really benefit from seeing your implementation.
from firebase-functions.
@laurenzlong I knew there was another place I needed make a PR. Thanks very much, I'll get right on it 👍
from firebase-functions.
Hi @sarovin I'm not familiar with the nuances of next. I recommend posting a question on Stack Overflow or another one of our support channels https://firebase.google.com/support/
from firebase-functions.
Here there is an example => https://github.com/sarovin/next-firebase-functions
from firebase-functions.
I've been working on a solution to this Next.js on Firebase for the last month or so. Sorry I haven't posted here sooner @sarovin, but I had some issues stopping me from posting. Here's my solution https://github.com/jthegedus/firebase-functions-next-example and an accompanying blog post (as part of my series) that explains how I got this all working. I had help from @geovanisouza92 and collaborated on partial solution late last month here: serverless-firebase
There's also a pending PR (see tag above) with an example for the Next.js examples
from firebase-functions.
Hi @laurenzlong, i haved fixed the problem.
Why if i run firebase deploy
on the root of my project i have this error??
i functions: preparing functions directory for uploading...
Error: Error parsing triggers: Cannot find module '/Users/saro/Projects/next-firebase-functions/.next/build-stats.json'
I must run firebase deploy
from the functions
directory...
from firebase-functions.
Hello @jthegedus ,
I follow your tutorial , and it works like a charm.
But when I import material ui in that project, it only works in local, not on firebase hosting.
I checked firebase function error log, that said: "Error: Cannot find module 'prop-types'"
I also tried install missing module into "src/functions/node_modules" but it didn't fix.
Could you pls check my git-hub & give me some hints to fix?
Thank you so much
from firebase-functions.
Related Issues (20)
- Log incorrectly prints [Circular] for object property when it shares reference with another property in the same object HOT 1
- When crating a user, beforeSignIn may be called multiple times with uids not corresponding to firebase users HOT 3
- DataSnapshot.val() throws error for nested child which doesn't exist HOT 3
- Property 'child' in type 'DataSnapshot' is not assignable to the same property in base type 'DataSnapshot'. after updating `firebase-admin` to v12.0.0 HOT 5
- TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"] HOT 4
- regression in "Build failed with error TS2416 in firebase-functions" HOT 7
- Bug in database.d.ts HOT 3
- Deploy function with the name test-helloWorld fails when using v2 HOT 6
- Inconsistend behaviour of defineList in deploy/emulator HOT 4
- TypeError: Cannot read properties of null (reading 'seconds') HOT 15
- Firebase Functions Encoding Failure for Self-Referencing Objects Leads to Maximum call stack size exceeded HOT 15
- Function execution took 58984 ms, finished with status: 'timeout' HOT 2
- [Firestore] Error: 4 DEADLINE_EXCEEDED: Deadline exceeded HOT 1
- HTTPS Request returns CORS errors even with the domain added as allowed origin HOT 4
- How to deploy function with latest secrets at RUNTIME? HOT 2
- DocumentOptions do not allow parameterized configuration values HOT 2
- Various Firebase functions started reporting crash: Maximum call stack size exceeded HOT 10
- regression with firebase-functions-test wrapping a v1 scheduled function HOT 2
- Please move `node-fetch` as a `devDependency` HOT 1
- `getDownloadURL` function fails in emulator mode if storage rules are not allowed HOT 3
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 firebase-functions.