#Vercel Node.js error

4 messages · Page 1 of 1 (latest)

devout lintel
#

Hi! I have a program on my computer, next.js, node.js 21.1.0, Next.js 14.0.1. When I run npm run build on my local computer, there are no errors. When I tried to deploy to vercel, I got this error:

node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by node)
node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by node)
Error: Command "npm run build" exited with 1

Can someone please help me fix this problem? I'm on windows 11 (no WSL or Docker) and am coding in VSCode. Thank you so much!

blissful jacinthBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

devout lintel
#

I found the error: I had node.js as one of my dependencies

blissful jacinthBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer

[Click here](#1174881484981678080 message)