Coder Social home page Coder Social logo

Comments (7)

laurenzlong avatar laurenzlong commented on June 12, 2024 3

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.

jthegedus avatar jthegedus commented on June 12, 2024 3

@laurenzlong I knew there was another place I needed make a PR. Thanks very much, I'll get right on it 👍

from firebase-functions.

laurenzlong avatar laurenzlong commented on June 12, 2024 2

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.

sarovin avatar sarovin commented on June 12, 2024 1

Here there is an example => https://github.com/sarovin/next-firebase-functions

from firebase-functions.

jthegedus avatar jthegedus commented on June 12, 2024 1

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.

sarovin avatar sarovin commented on June 12, 2024

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.

lcd11001 avatar lcd11001 commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.