bueno dias, estoy intentando desplegar una aplicación con nodejs la cual me da el siguiente error en el comando build:
1:54:33 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
1:54:31 PM: Netlify Build
1:54:31 PM: ────────────────────────────────────────────────────────────────
1:54:31 PM:
1:54:31 PM: ❯ Version
1:54:31 PM: @netlify/build 29.17.4
1:54:31 PM:
1:54:31 PM: ❯ Flags
1:54:31 PM: baseRelDir: true
1:54:31 PM: buildId: 64cbdbb23dd27c0007436fd4
1:54:31 PM: deployId: 64cbdbb23dd27c0007436fd6
1:54:31 PM:
1:54:31 PM: ❯ Current directory
1:54:31 PM: /opt/build/repo
1:54:31 PM:
1:54:31 PM: ❯ Config file
1:54:31 PM: /opt/build/repo/netlify.toml
1:54:31 PM:
1:54:31 PM: ❯ Context
1:54:31 PM: production
1:54:31 PM:
1:54:31 PM: build.command from netlify.toml
1:54:31 PM: ────────────────────────────────────────────────────────────────
1:54:31 PM:
1:54:31 PM: $ babel / -d dist
1:54:32 PM: Error: ELOOP: too many symbolic links encountered, stat ‘/bin/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/c++’
1:54:32 PM: at Object.statSync (node:fs:1690:3)
1:54:32 PM: at /opt/build/repo/node_modules/@babel/cli/lib/babel/util.js:57:24
1:54:32 PM: at /opt/build/repo/node_modules/fs-readdir-recursive/index.js:16:14
1:54:32 PM: at Array.filter ()
1:54:32 PM: at read (/opt/build/repo/node_modules/fs-readdir-recursive/index.js:15:6)
1:54:32 PM: at /opt/build/repo/node_modules/fs-readdir-recursive/index.js:19:7
1:54:32 PM: at Array.forEach ()
1:54:32 PM: at read (/opt/build/repo/node_modules/fs-readdir-recursive/index.js:18:6)
1:54:32 PM: at /opt/build/repo/node_modules/fs-readdir-recursive/index.js:19:7
1:54:32 PM: at Array.forEach () {
1:54:32 PM: errno: -40,
1:54:32 PM: syscall: ‘stat’,
1:54:32 PM: code: ‘ELOOP’,
1:54:32 PM: path: ‘/bin/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/c++’
1:54:32 PM: }
1:54:32 PM:
1:54:32 PM: build.command failed
1:54:32 PM: ────────────────────────────────────────────────────────────────
1:54:32 PM:
1:54:32 PM: Error message
1:54:32 PM: Command failed with exit code 1: babel / -d dist (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
1:54:32 PM:
1:54:32 PM: Error location
1:54:32 PM: In build.command from netlify.toml:
1:54:32 PM: babel / -d dist
1:54:32 PM:
1:54:32 PM: Resolved config
1:54:32 PM: build:
1:54:32 PM: command: babel / -d dist
1:54:32 PM: commandOrigin: config
1:54:32 PM: environment:
1:54:32 PM: - DB_HOST
1:54:32 PM: - DB_NAME
1:54:32 PM: - DB_PASS
1:54:32 PM: - DB_USER
1:54:32 PM: - EMAIL_PASS
1:54:32 PM: - EMAIL_RECIBE
1:54:32 PM: - EMAIL_USER
1:54:32 PM: - ENDPOINT_ID
1:54:32 PM: - NODE_ENV
1:54:32 PM: - SESSION_SECRET
1:54:32 PM: publish: /opt/build/repo/dist
1:54:32 PM: publishOrigin: config
1:54:33 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:54:33 PM: Failing build: Failed to build site
1:54:34 PM: Finished processing build request in 21.457s