Giter Site home page Giter Site logo

Build failing in production (Digital Ocean) - ERROR Cannot find module '/workspace/@nuxtjs/supabase' 3.11.2 - 3.12.2 about nuxt.js HOT 10 CLOSED

nosizejosh avatar nosizejosh commented on August 28, 2024
Build failing in production (Digital Ocean) - ERROR Cannot find module '/workspace/@nuxtjs/supabase' 3.11.2 - 3.12.2

from nuxt.js.

Comments (10)

github-actions avatar github-actions commented on August 28, 2024

Would you be able to provide a reproduction? 🙏

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox

A public GitHub repository is also perfect. 👌

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

from nuxt.js.

GalacticHypernova avatar GalacticHypernova commented on August 28, 2024

Could you please share your project? It's difficult to check it without seeing your specific configuration. This just seems like a duplicate of the referenced Nuxt issue and is likely an issue with the module.

from nuxt.js.

GalacticHypernova avatar GalacticHypernova commented on August 28, 2024

What if you downgrade supabase to 1.2.0? That should solve it

from nuxt.js.

nosizejosh avatar nosizejosh commented on August 28, 2024

production deployment still failing, as expected. I do not think its really a supabase issue

from nuxt.js.

nosizejosh avatar nosizejosh commented on August 28, 2024

Now production build is failing even when I downgrade nuxt to 3.11.2. I have rolled back to previous commits but build is still failing

from nuxt.js.

GalacticHypernova avatar GalacticHypernova commented on August 28, 2024

If even earlier builds fail (assuming with the same message), that reduces the chance it's from nuxt, considering they worked beforehand.
Have you made sure it's installed?

from nuxt.js.

nosizejosh avatar nosizejosh commented on August 28, 2024

even though I have tried to revert to nuxt 3.11.2 and that shows in my package.json,
env shows it still running 3.12.2



from nuxt.js.

GalacticHypernova avatar GalacticHypernova commented on August 28, 2024

Make sure to reinstall nuxt (you can use nuxi upgrade --force)

from nuxt.js.

nosizejosh avatar nosizejosh commented on August 28, 2024

Update: Tried to deploy with netlify and build passed.
So issue was with DO or build pack used in DO.

@GalacticHypernova Thanks for your help.
will use netflify for now until issue is resolved

from nuxt.js.

GalacticHypernova avatar GalacticHypernova commented on August 28, 2024

Glad I could help!
You can also reach out to DO support to investigate it on their end, because since it works in netlify it means nuxt in and of itself is not at fault

from nuxt.js.

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.