• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Next JS Build issue

kramnath

New Pleskian
We we run build we are getting below error

info - Creating an optimized production build...
info - Attempted to load @next/swc-linux-x64-gnu, but an error occurred: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/www/vhosts/********/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node)
info - Attempted to load @next/swc-linux-x64-gnux32, but it was not installed
info - Attempted to load @next/swc-linux-x64-musl, but an error occurred: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
error - Failed to load SWC binary for linux/x64, see more info here: failed-loading-swc | Next.js


CentOS Linux 7.9.2009 (Core)
Plesk Obsidian Version 18.0.42 Update #1
NODEJS 17.7.2
 
Back
Top