Please help, I deployed the site manually from the build folder to the domain www.ajaykc.com
Now i want to link the bitbucket repo to update my website and i m getting this error. i even tried CI=npm run build going through all the support forums. but nothing works.
6:41:06 PM: Build ready to start
6:41:19 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
6:41:19 PM: build-image tag: v3.4.1
6:41:19 PM: buildbot version: e1f4178b0d9779ebad1b11d5b54739f82fed3c22
6:41:19 PM: Fetching cached dependencies
6:41:20 PM: Failed to fetch cache, continuing with build
6:41:20 PM: Starting to prepare the repo for build
6:41:20 PM: No cached dependencies found. Cloning fresh repo
6:41:20 PM: git clone git@bitbucket.org:ajaykc90/portfolio
6:41:23 PM: Preparing Git Reference refs/heads/master
6:41:25 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘build’ versus ‘build/’ in the Netlify UI
6:41:25 PM: Starting build script
6:41:25 PM: Installing dependencies
6:41:25 PM: Python version set to 2.7
6:41:26 PM: v12.18.0 is already installed.
6:41:27 PM: Now using node v12.18.0 (npm v6.14.4)
6:41:27 PM: Started restoring cached build plugins
6:41:27 PM: Finished restoring cached build plugins
6:41:27 PM: Attempting ruby version 2.7.1, read from environment
6:41:29 PM: Using ruby version 2.7.1
6:41:29 PM: Using PHP version 5.6
6:41:29 PM: 5.2 is already installed.
6:41:29 PM: Using Swift version 5.2
6:41:29 PM: Started restoring cached node modules
6:41:29 PM: Finished restoring cached node modules
6:41:29 PM: Installing NPM modules using NPM version 6.14.4
6:42:03 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
6:42:03 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:42:03 PM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/core-js
6:42:03 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:42:04 PM: > core-js-pure@3.6.5 postinstall /opt/build/repo/node_modules/core-js-pure
6:42:04 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:42:07 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
6:42:07 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
6:42:07 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
6:42:07 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
6:42:07 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
6:42:07 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
6:42:07 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
6:42:07 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
6:42:07 PM: added 1587 packages from 748 contributors and audited 1594 packages in 36.021s
6:42:08 PM: 67 packages are looking for funding
6:42:08 PM: run npm fund
for details
6:42:08 PM: found 0 vulnerabilities
6:42:08 PM: NPM modules installed
6:42:08 PM: Started restoring cached go cache
6:42:08 PM: Finished restoring cached go cache
6:42:09 PM: go version go1.14.4 linux/amd64
6:42:09 PM: go version go1.14.4 linux/amd64
6:42:09 PM: Installing missing commands
6:42:09 PM: Verify run directory
6:42:10 PM:
6:42:10 PM: ┌─────────────────────────────┐
6:42:10 PM: │ Netlify Build │
6:42:10 PM: └─────────────────────────────┘
6:42:10 PM:
6:42:10 PM: ❯ Version
6:42:10 PM: @netlify/build 3.3.5
6:42:10 PM:
6:42:10 PM: ❯ Flags
6:42:10 PM: deployId: 5f5743a29282d63ea3b08476
6:42:10 PM: mode: buildbot
6:42:10 PM:
6:42:10 PM: ❯ Current directory
6:42:10 PM: /opt/build/repo
6:42:10 PM:
6:42:10 PM: ❯ Config file
6:42:10 PM: No config file was defined: using default values.
6:42:10 PM:
6:42:10 PM: ❯ Context
6:42:10 PM: production
6:42:10 PM:
6:42:10 PM: ┌───────────────────────────────────┐
6:42:10 PM: │ 1. Build command from Netlify app │
6:42:10 PM: └───────────────────────────────────┘
6:42:10 PM:
6:42:10 PM: $ CI =npm run build
6:42:10 PM: bash: CI: command not found
6:42:10 PM:
6:42:10 PM: ┌─────────────────────────────┐
6:42:10 PM: │ “build.command” failed │
6:42:10 PM: └─────────────────────────────┘
6:42:10 PM:
6:42:10 PM: Error message
6:42:10 PM: Command failed with exit code 127: CI =npm run build
6:42:10 PM:
6:42:10 PM: Error location
6:42:10 PM: In Build command from Netlify app:
6:42:10 PM: CI =npm run build
6:42:10 PM:
6:42:10 PM: Resolved config
6:42:10 PM: build:
6:42:10 PM: command: CI =npm run build
6:42:10 PM: commandOrigin: ui
6:42:10 PM: publish: /opt/build/repo/build
6:42:10 PM: Caching artifacts
6:42:10 PM: Started saving node modules
6:42:10 PM: Finished saving node modules
6:42:10 PM: Started saving build plugins
6:42:10 PM: Finished saving build plugins
6:42:10 PM: Started saving pip cache
6:42:10 PM: Finished saving pip cache
6:42:10 PM: Started saving emacs cask dependencies
6:42:10 PM: Finished saving emacs cask dependencies
6:42:10 PM: Started saving maven dependencies
6:42:10 PM: Finished saving maven dependencies
6:42:10 PM: Started saving boot dependencies
6:42:10 PM: Finished saving boot dependencies
6:42:10 PM: Started saving go dependencies
6:42:10 PM: Finished saving go dependencies
6:42:13 PM: Error running command: Build script returned non-zero exit code: 1
6:42:13 PM: Failing build: Failed to build site
6:42:13 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
6:42:13 PM: Finished processing build request in 53.993847374s