segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

Issue when deploying on vercel #1379

Closed kud closed 2 years ago

kud commented 2 years ago

I don't have this error on my machine but when I deploy my project on vercel, I've got this error.

image

Node v14 is used.

kud commented 2 years ago

I've got the same issue that vercel has, with node v14 on my computer.

kud commented 2 years ago

Setting

  "engines": {
    "node": ">=14.18.2"
  },

makes it work.

It bypasses the default version of vercel with 14.x and it makes it work. I don't know why.

Thank you anyway.