Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Error #1

Closed
saingsab opened this issue Sep 13, 2020 · 0 comments
Closed

Deployment Error #1

saingsab opened this issue Sep 13, 2020 · 0 comments

Comments

@saingsab
Copy link
Contributor

Here is the error log:
10:08:58 AM: Build ready to start
10:09:00 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
10:09:00 AM: build-image tag: v3.4.1
10:09:00 AM: buildbot version: 8c957a6d09a03023cea4239847cc73a9cb64eeb7
10:09:00 AM: Fetching cached dependencies
10:09:00 AM: Failed to fetch cache, continuing with build
10:09:00 AM: Starting to prepare the repo for build
10:09:00 AM: No cached dependencies found. Cloning fresh repo
10:09:00 AM: git clone https://github.com/selendra/selendra-web
10:09:01 AM: Preparing Git Reference refs/heads/master
10:09:02 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'build' versus 'build/' in the Netlify UI
10:09:02 AM: Starting build script
10:09:02 AM: Installing dependencies
10:09:02 AM: Python version set to 2.7
10:09:04 AM: v12.18.0 is already installed.
10:09:04 AM: Now using node v12.18.0 (npm v6.14.4)
10:09:04 AM: Started restoring cached build plugins
10:09:04 AM: Finished restoring cached build plugins
10:09:04 AM: Attempting ruby version 2.7.1, read from environment
10:09:05 AM: Using ruby version 2.7.1
10:09:06 AM: Using PHP version 5.6
10:09:06 AM: 5.2 is already installed.
10:09:06 AM: Using Swift version 5.2
10:09:06 AM: Started restoring cached node modules
10:09:06 AM: Finished restoring cached node modules
10:09:06 AM: Installing NPM modules using NPM version 6.14.4
10:09:36 AM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
10:09:36 AM: > node -e "try{require('./postinstall')}catch(e){}"
10:09:36 AM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/core-js
10:09:36 AM: > node -e "try{require('./postinstall')}catch(e){}"
10:09:36 AM: > core-js-pure@3.6.5 postinstall /opt/build/repo/node_modules/core-js-pure
10:09:36 AM: > node -e "try{require('./postinstall')}catch(e){}"
10:09:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
10:09:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:09:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
10:09:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:09:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
10:09:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:09:38 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
10:09:38 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
10:09:38 AM: added 1693 packages from 818 contributors and audited 1700 packages in 31.954s
10:09:40 AM: 69 packages are looking for funding
10:09:40 AM: run npm fund for details
10:09:40 AM: found 0 vulnerabilities
10:09:40 AM: NPM modules installed
10:09:40 AM: Started restoring cached go cache
10:09:40 AM: Finished restoring cached go cache
10:09:40 AM: go version go1.14.4 linux/amd64
10:09:40 AM: go version go1.14.4 linux/amd64
10:09:40 AM: Installing missing commands
10:09:40 AM: Verify run directory
10:09:41 AM: ​
10:09:41 AM: ┌─────────────────────────────┐
10:09:41 AM: │ Netlify Build │
10:09:41 AM: └─────────────────────────────┘
10:09:41 AM: ​
10:09:41 AM: ❯ Version
10:09:41 AM: @netlify/build 3.3.5
10:09:41 AM: ​
10:09:41 AM: ❯ Flags
10:09:41 AM: deployId: 5f5d8d4a598fe10c6797df93
10:09:41 AM: mode: buildbot
10:09:41 AM: ​
10:09:41 AM: ❯ Current directory
10:09:41 AM: /opt/build/repo
10:09:41 AM: ​
10:09:41 AM: ❯ Config file
10:09:41 AM: No config file was defined: using default values.
10:09:41 AM: ​
10:09:41 AM: ❯ Context
10:09:41 AM: production
10:09:41 AM: ​
10:09:41 AM: ┌───────────────────────────────────┐
10:09:41 AM: │ 1. Build command from Netlify app │
10:09:41 AM: └───────────────────────────────────┘
10:09:41 AM: ​
10:09:41 AM: $ npm run build
10:09:42 AM: > selendra-web@0.1.0 build /opt/build/repo
10:09:42 AM: > react-scripts build
10:09:43 AM: Creating an optimized production build...
10:10:19 AM:
10:10:19 AM: Treating warnings as errors because process.env.CI = true.
10:10:19 AM: Most CI servers set it automatically.
10:10:19 AM:
10:10:19 AM: Failed to compile.
10:10:19 AM:
10:10:19 AM: ./src/components/Header/index.js
10:10:19 AM: Line 2:24: 'Row' is defined but never used no-unused-vars
10:10:19 AM: Line 2:29: 'Col' is defined but never used no-unused-vars
10:10:19 AM: npm ERR! code ELIFECYCLE
10:10:19 AM: npm ERR! errno 1
10:10:19 AM: npm ERR! selendra-web@0.1.0 build: react-scripts build
10:10:19 AM: npm ERR! Exit status 1
10:10:19 AM: npm ERR!
10:10:19 AM: npm ERR! Failed at the selendra-web@0.1.0 build script.
10:10:19 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
10:10:19 AM: npm ERR! A complete log of this run can be found in:
10:10:19 AM: npm ERR! /opt/buildhome/.npm/_logs/2020-09-13T03_10_19_937Z-debug.log
10:10:19 AM: ​
10:10:19 AM: ┌─────────────────────────────┐
10:10:19 AM: │ "build.command" failed │
10:10:19 AM: └─────────────────────────────┘
10:10:19 AM: ​
10:10:19 AM: Error message
10:10:19 AM: Command failed with exit code 1: npm run build
10:10:19 AM: ​
10:10:19 AM: Error location
10:10:19 AM: In Build command from Netlify app:
10:10:19 AM: npm run build
10:10:19 AM: ​
10:10:19 AM: Resolved config
10:10:19 AM: build:
10:10:19 AM: command: npm run build
10:10:19 AM: commandOrigin: ui
10:10:19 AM: publish: /opt/build/repo/build
10:10:20 AM: Caching artifacts
10:10:20 AM: Started saving node modules
10:10:20 AM: Finished saving node modules
10:10:20 AM: Started saving build plugins
10:10:20 AM: Finished saving build plugins
10:10:20 AM: Started saving pip cache
10:10:20 AM: Finished saving pip cache
10:10:20 AM: Started saving emacs cask dependencies
10:10:20 AM: Finished saving emacs cask dependencies
10:10:20 AM: Started saving maven dependencies
10:10:20 AM: Finished saving maven dependencies
10:10:20 AM: Started saving boot dependencies
10:10:20 AM: Finished saving boot dependencies
10:10:20 AM: Started saving go dependencies
10:10:20 AM: Finished saving go dependencies
10:10:22 AM: Error running command: Build script returned non-zero exit code: 1
10:10:22 AM: Failing build: Failed to build site
10:10:22 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1
10:10:22 AM: Finished processing build request in 1m22.349771275s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant