Ending installation cloudcannon

I try to install cloudcannonemphasized text & netlify but met this errors >
2:47:15 PM: Waiting for other deploys from your team to complete. Check the queue: Netlify App
2:48:21 PM: build-image version: c0621868af5001023389eeaa9dbfbbaf313f67e2 (focal)
2:48:21 PM: buildbot version: c0621868af5001023389eeaa9dbfbbaf313f67e2
2:48:21 PM: Fetching cached dependencies
2:48:21 PM: Starting to download cache of 184.8MB
2:48:23 PM: Finished downloading cache in 1.449s
2:48:23 PM: Starting to extract cache
2:48:26 PM: Finished extracting cache in 3.181s
2:48:26 PM: Finished fetching cache in 4.688s
2:48:26 PM: Starting to prepare the repo for build
2:48:26 PM: Preparing Git Reference pull/122/head
2:48:27 PM: Parsing package.json dependencies
2:48:27 PM: Starting to install dependencies
2:48:28 PM: Attempting Ruby version 2.7.2, read from environment
2:48:28 PM: Using Ruby version 2.7.2
2:48:29 PM: Started restoring cached go cache
2:48:29 PM: Finished restoring cached go cache
2:48:29 PM: Installing Go version 1.19.5 (requested 1.19.5)
2:48:37 PM: go version go1.19.5 linux/amd64
2:48:38 PM: v16.19.1 is already installed.
2:48:39 PM: Now using node v16.19.1 (npm v8.19.3)
2:48:39 PM: Enabling Node.js Corepack
2:48:39 PM: Started restoring cached build plugins
2:48:39 PM: Finished restoring cached build plugins
2:48:39 PM: Python version set to 3.8
2:48:39 PM: Using PHP version 8.0
2:48:39 PM: Install dependencies script success
2:48:39 PM: Starting build script
2:48:39 PM: Using stage install dependencies
2:48:40 PM: Detected 0 framework(s)
2:48:40 PM: Section completed: initializing
2:48:41 PM: ​
2:48:41 PM: Netlify Build
2:48:41 PM: ────────────────────────────────────────────────────────────────
2:48:41 PM: ​
2:48:41 PM: ❯ Version
2:48:41 PM: @netlify/build 29.5.8
2:48:41 PM: ​
2:48:41 PM: ❯ Flags
2:48:41 PM: baseRelDir: true
2:48:41 PM: buildId: 63f61ce34eca9c0008f80d26
2:48:41 PM: deployId: 63f61ce34eca9c0008f80d28
2:48:41 PM: ​
2:48:41 PM: ❯ Current directory
2:48:41 PM: /opt/build/repo
2:48:41 PM: ​
2:48:41 PM: ❯ Config file
2:48:41 PM: No config file was defined: using default values.
2:48:41 PM: ​
2:48:41 PM: ❯ Context
2:48:41 PM: deploy-preview
2:48:41 PM: ​
2:48:41 PM: 1. Build command from Netlify app
2:48:42 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)
2:48:41 PM: ────────────────────────────────────────────────────────────────
2:48:41 PM: ​
2:48:41 PM: $ npm run build
2:48:41 PM: npm ERR! code ENOENT
2:48:41 PM: npm ERR! syscall open
2:48:41 PM: npm ERR! path /opt/build/repo/package.json
2:48:41 PM: npm ERR! errno -2
2:48:41 PM: npm ERR! enoent ENOENT: no such file or directory, open ‘/opt/build/repo/package.json’
2:48:41 PM: npm ERR! enoent This is related to npm not being able to find a file.
2:48:41 PM: npm ERR! enoent
2:48:41 PM: npm ERR! A complete log of this run can be found in:
2:48:41 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-02-22T13_48_41_651Z-debug-0.log
2:48:41 PM: ​
2:48:41 PM: “build.command” failed
2:48:41 PM: ────────────────────────────────────────────────────────────────
2:48:41 PM: ​
2:48:41 PM: Error message
2:48:41 PM: Command failed with exit code 254: npm run build (Search results for '"non-zero exit code: 254"' - Netlify Support Forums)
2:48:41 PM: ​
2:48:41 PM: Error location
2:48:41 PM: In Build command from Netlify app:
2:48:41 PM: npm run build
2:48:41 PM: ​
2:48:41 PM: Resolved config
2:48:41 PM: build:
2:48:41 PM: command: npm run build
2:48:41 PM: commandOrigin: ui
2:48:41 PM: environment:
2:48:41 PM: - REVIEW_ID
2:48:41 PM: publish: /opt/build/repo/public
2:48:41 PM: publishOrigin: ui
2:48:42 PM: Caching artifacts
2:48:42 PM: Started saving build plugins
2:48:42 PM: Finished saving build plugins
2:48:42 PM: Started saving pip cache
2:48:42 PM: Finished saving pip cache
2:48:42 PM: Started saving emacs cask dependencies
2:48:42 PM: Finished saving emacs cask dependencies
2:48:42 PM: Started saving maven dependencies
2:48:42 PM: Finished saving maven dependencies
2:48:42 PM: Started saving boot dependencies
2:48:42 PM: Finished saving boot dependencies
2:48:42 PM: Started saving rust rustup cache
2:48:42 PM: Finished saving rust rustup cache
2:48:42 PM: Started saving go dependencies
2:48:42 PM: Finished saving go dependencies
2:48:42 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:48:42 PM: Failing build: Failed to build site
2:48:42 PM: Finished processing build request in 20.829s

PLEASE help us help you by writing a good post!

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

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!