Giter Site home page Giter Site logo

Comments (7)

devmarcelosantos avatar devmarcelosantos commented on May 24, 2024 3

I have the same problem, i've already tested changing the project to node 16, setting a version of vercel-builder in the vercel.json file, but so far nothing.

from vercel.

francescophra avatar francescophra commented on May 24, 2024 2

If you have an ES6 import in your nuxt.config.js, try removing it. It worked for me.
I also updated Nuxt 2 and ran it on Node 18.
@JhonSteven @wrrnlim @devmarcelosantos

from vercel.

JhonSteven avatar JhonSteven commented on May 24, 2024 1

@francescophra Thanks, it worked for me as well!!

from vercel.

JhonSteven avatar JhonSteven commented on May 24, 2024

Hey, I started getting the same error today, @francescophra could you fix it?

from vercel.

wrrnlim avatar wrrnlim commented on May 24, 2024

Not sure if this helps but I had the same error and noticed a warning in my build:

WARN! npm WARN deprecated @now/[email protected]: "@now/node" is deprecated and will stop receiving updates on December 31, 2020. Please use "@vercel/node" instead.

I changed my vercel.json to use @vercel/node and that fixed it for me.

"builds": [
    {
      "src": "index.js",
      "use": "@vercel/node" // changed from @now/node
    }
  ],

I was still using @now/node yesterday and everything was working fine, but I guess something changed today

from vercel.

francescophra avatar francescophra commented on May 24, 2024

Hey, I started getting the same error today, @francescophra could you fix it?

@JhonSteven Not yet


I changed my vercel.json to use @vercel/node and that fixed it for me.

@wrrnlim Thanks for your feedback. Unfortunately it's still broken for me

from vercel.

francescophra avatar francescophra commented on May 24, 2024

If you encounter other errors, try reading these issues.
nuxt/vercel-builder#513
nuxt/vercel-builder#589

from vercel.

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.