https://curious-hotteok-4e334c.netlify.app
I have built app issue. The log is noted below
Kindly help
11:34:13 AM: build-image version: 1ca34a93198b041e44214013884c57d146a23fed (focal)
11:34:13 AM: build-image tag: v4.16.4
11:34:13 AM: buildbot version: 2577a19e1559072eeb7a6727cec389b63b90401c
11:34:13 AM: Building without cache
11:34:13 AM: Starting to prepare the repo for build
11:34:13 AM: No cached dependencies found. Cloning fresh repo
11:34:13 AM: git clone --filter=blob:none --no-checkout GitHub - Nisar2018/tile
11:34:13 AM: Preparing Git Reference refs/heads/main
11:34:14 AM: Parsing package.json dependencies
11:34:15 AM: Starting build script
11:34:15 AM: Installing dependencies
11:34:15 AM: Python version set to 2.7
11:34:16 AM: v16.19.0 is already installed.
11:34:16 AM: Now using node v16.19.0 (npm v8.19.3)
11:34:16 AM: Enabling Node.js Corepack
11:34:16 AM: Started restoring cached build plugins
11:34:16 AM: Finished restoring cached build plugins
11:34:16 AM: Attempting Ruby version 2.7.2, read from environment
11:34:17 AM: Using Ruby version 2.7.2
11:34:17 AM: Using PHP version 8.0
11:34:17 AM: Started restoring cached corepack dependencies
11:34:17 AM: mv: cannot move β/opt/build/cache/.node/corepackβ to β/opt/buildhome/.node/corepackβ: No such file or directory
11:34:17 AM: Finished restoring cached corepack dependencies
11:34:17 AM: No npm workspaces detected
11:34:17 AM: Started restoring cached node modules
11:34:17 AM: Finished restoring cached node modules
11:34:17 AM: Bypassing sha validation. Running pre & post install scripts
11:34:17 AM: Installing npm packages using npm version 8.19.3
11:34:19 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See Thereβs Math.random(), and then thereβs Math.random() Β· V8 for details.
11:34:19 AM: npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See Thereβs Math.random(), and then thereβs Math.random() Β· V8 for details.
11:34:20 AM: added 251 packages, and audited 252 packages in 3s
11:34:20 AM: 17 packages are looking for funding
11:34:20 AM: run npm fund
for details
11:34:20 AM: 4 vulnerabilities (3 moderate, 1 high)
11:34:20 AM: To address all issues, run:
11:34:20 AM: npm audit fix
11:34:20 AM: Run npm audit
for details.
11:34:20 AM: npm packages installed
11:34:20 AM: Started restoring cached go cache
11:34:20 AM: Finished restoring cached go cache
11:34:20 AM: go version go1.19.5 linux/amd64
11:34:20 AM: Detected 0 framework(s)
11:34:20 AM: Installing missing commands
11:34:20 AM: Verify run directory
11:34:20 AM: Section completed: initializing
11:34:22 AM: β
11:34:22 AM: Netlify Build
11:34:22 AM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
11:34:22 AM: β
11:34:22 AM: β― Version
11:34:22 AM: @netlify/build 29.5.1
11:34:22 AM: β
11:34:22 AM: β― Flags
11:34:22 AM: baseRelDir: true
11:34:22 AM: buildId: 63d21ee14f8d180d4e794abf
11:34:22 AM: deployId: 63d21ee14f8d180d4e794ac1
11:34:22 AM: β
11:34:22 AM: β― Current directory
11:34:22 AM: /opt/build/repo
11:34:22 AM: β
11:34:22 AM: β― Config file
11:34:22 AM: /opt/build/repo/netlify.toml
11:34:22 AM: β
11:34:22 AM: β― Context
11:34:22 AM: production
11:34:22 AM: β
11:34:22 AM: 1. Build command from Netlify app
11:34:22 AM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
11:34:22 AM: β
11:34:22 AM: $ npm
11:34:22 AM: npm
11:34:22 AM: Usage:
11:34:22 AM: npm install install all the dependencies in your project
11:34:22 AM: npm install add the dependency to your project
11:34:22 AM: npm test run this projectβs testsnpm run run the script named
11:34:22 AM: npm -h quick help on
11:34:22 AM: npm -l display usage info for all commands
11:34:22 AM: npm help search for help on
11:34:22 AM: npm help npm more involved overview
11:34:22 AM: All commands:
11:34:22 AM: access, adduser, audit, bin, bugs, cache, ci, completion,
11:34:22 AM: config, dedupe, deprecate, diff, dist-tag, docs, doctor,
11:34:22 AM: edit, exec, explain, explore, find-dupes, fund, get, help,
11:34:22 AM: hook, init, install, install-ci-test, install-test, link,
11:34:22 AM: ll, login, logout, ls, org, outdated, owner, pack, ping,
11:34:22 AM: pkg, prefix, profile, prune, publish, query, rebuild, repo,
11:34:22 AM: restart, root, run-script, search, set, set-script,
11:34:24 AM: Failed during stage βbuilding siteβ: Build script returned non-zero exit code: 2 (Search results for '"non-zero exit code: 2"' - Netlify Support Forums)
11:34:22 AM: shrinkwrap, star, stars, start, stop, team, test, token,
11:34:22 AM: uninstall, unpublish, unstar, update, version, view, whoami
11:34:22 AM: Specify configs in the ini-formatted file:
11:34:22 AM: /opt/buildhome/.npmrc
11:34:22 AM: or on the command line via: npm --key=value
11:34:22 AM: More configuration info: npm help config
11:34:22 AM: Configuration fields: npm help 7 config
11:34:22 AM: npm@8.19.3 /opt/buildhome/.nvm/versions/node/v16.19.0/lib/node_modules/npm
11:34:22 AM: β
11:34:22 AM: βbuild.commandβ failed
11:34:22 AM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
11:34:22 AM: β
11:34:22 AM: Error message
11:34:22 AM: Command failed with exit code 1: npm (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
11:34:22 AM: β
11:34:22 AM: Error location
11:34:22 AM: In Build command from Netlify app:
11:34:22 AM: npm
11:34:22 AM: β
11:34:22 AM: Resolved config
11:34:22 AM: build:
11:34:22 AM: command: npm
11:34:22 AM: commandOrigin: ui
11:34:22 AM: publish: /opt/build/repo/tile
11:34:22 AM: publishOrigin: ui
11:34:22 AM: redirects:
11:34:23 AM: - from: /* status: 200 to: /index.php redirectsOrigin: configCaching artifacts
11:34:23 AM: Started saving node modules
11:34:23 AM: Finished saving node modules
11:34:23 AM: Started saving build plugins
11:34:23 AM: Finished saving build plugins
11:34:23 AM: Started saving pip cache
11:34:23 AM: Finished saving pip cache
11:34:23 AM: Started saving emacs cask dependencies
11:34:23 AM: Finished saving emacs cask dependencies
11:34:23 AM: Started saving maven dependencies
11:34:23 AM: Finished saving maven dependencies
11:34:23 AM: Started saving boot dependencies
11:34:23 AM: Finished saving boot dependencies
11:34:23 AM: Started saving rust rustup cache
11:34:23 AM: Finished saving rust rustup cache
11:34:23 AM: Started saving go dependencies
11:34:23 AM: Finished saving go dependencies
11:34:23 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
11:34:23 AM: Failing build: Failed to build site
11:34:24 AM: Finished processing build request in 10.709s
- we need to know your netlify site name. Example:
gifted-antelope-58b104.netlify.app
- DNS issues? Tell us the custom domain, tell us the error message! We canβt help if we donβt know your domain.
- Build problems? Link or paste the FULL build log & build settings screenshot
The better the post - the faster the answer.