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
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