sitename: codebatman.netlify.app
I have tried every measure but still cannot solve the deployment problem. The parcel installed is normal.
Blockquote
8:55:32 PM: ────────────────────────────────────────────────────────────────
8:55:32 PM: 1. Build command from Netlify app
8:55:32 PM: ────────────────────────────────────────────────────────────────
8:55:32 PM:
8:55:32 PM: $ parcel build index.html
8:55:34 PM: /opt/build/repo/images/banner@2x.webp: Invalid Version: undefined
8:55:34 PM: at new SemVer (/opt/build/repo/node_modules/@babel/preset-env/node_modules/semver/semver.js:314:11)
8:55:34 PM: at compare (/opt/build/repo/node_modules/@babel/preset-env/node_modules/semver/semver.js:647:10)
8:55:34 PM: at Function.lt (/opt/build/repo/node_modules/@babel/preset-env/node_modules/semver/semver.js:688:10)
8:55:34 PM: at /opt/build/repo/node_modules/@babel/preset-env/lib/index.js:225:11
8:55:34 PM: at Object.default (/opt/build/repo/node_modules/@babel/helper-plugin-utils/lib/index.js:31:12)
8:55:34 PM: at getEnvPlugins (/opt/build/repo/node_modules/parcel-bundler/src/transforms/babel/env.js:62:34)
8:55:34 PM: at getEnvConfig (/opt/build/repo/node_modules/parcel-bundler/src/transforms/babel/env.js:12:25)
8:55:34 PM: at async getBabelConfig (/opt/build/repo/node_modules/parcel-bundler/src/transforms/babel/config.js:32:19)
8:55:34 PM: at async babelTransform (/opt/build/repo/node_modules/parcel-bundler/src/transforms/babel/transform.js:6:16)
8:55:34 PM: at async JSAsset.pretransform (/opt/build/repo/node_modules/parcel-bundler/src/assets/JSAsset.js:83:5)
8:55:35 PM:
8:55:35 PM: ────────────────────────────────────────────────────────────────
8:55:35 PM: “build.command” failed
8:55:35 PM: ────────────────────────────────────────────────────────────────
8:55:35 PM:
8:55:35 PM: Error message
8:55:35 PM: Command failed with exit code 1: parcel build index.html (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
8:55:35 PM:
8:55:35 PM: Error location
8:55:35 PM: In Build command from Netlify app:
8:55:35 PM: parcel build index.html
8:55:35 PM:
8:55:35 PM: Resolved config
8:55:35 PM: build:
8:55:35 PM: command: parcel build index.html
8:55:35 PM: commandOrigin: ui
8:55:35 PM: publish: /opt/build/repo/dist
8:55:35 PM: publishOrigin: ui
8:55:36 PM: Caching artifacts
8:55:36 PM: Started saving node modules
8:55:36 PM: Finished saving node modules
8:55:36 PM: Started saving build plugins
8:55:36 PM: Finished saving build plugins
8:55:36 PM: Started saving pip cache
8:55:36 PM: Finished saving pip cache
8:55:36 PM: Started saving emacs cask dependencies
8:55:36 PM: Finished saving emacs cask dependencies
8:55:36 PM: Started saving maven dependencies
8:55:36 PM: Finished saving maven dependencies
8:55:36 PM: Started saving boot dependencies
8:55:36 PM: Finished saving boot dependencies
8:55:37 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)
8:55:36 PM: Started saving rust rustup cache
8:55:36 PM: Finished saving rust rustup cache
8:55:36 PM: Started saving go dependencies
8:55:36 PM: Finished saving go dependencies
8:55:36 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:55:36 PM: Failing build: Failed to build site
8:55:37 PM: Finished processing build request in 18.530839424s
Please help. thanks