@ehmicky
Hello, I am in trouble with same problem as well. I have followed your instructions but still same problem.
6:08:20 PM: Waiting for other deploys from your team to complete
6:14:14 PM: Build ready to start
6:14:16 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
6:14:16 PM: build-image tag: v3.4.1
6:14:16 PM: buildbot version: fcbc7a79f7372e5995cf02954ef19fc48d20c871
6:14:16 PM: Fetching cached dependencies
6:14:16 PM: Failed to fetch cache, continuing with build
6:14:16 PM: Starting to prepare the repo for build
6:14:16 PM: No cached dependencies found. Cloning fresh repo
6:14:16 PM: git clone GitHub - moscuet/pomodoro-clock
6:14:17 PM: Preparing Git Reference refs/heads/master
6:14:18 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘build’ versus ‘build/’ in the Netlify UI
6:14:18 PM: Starting build script
6:14:18 PM: Installing dependencies
6:14:18 PM: Python version set to 2.7
6:14:19 PM: v12.18.0 is already installed.
6:14:20 PM: Now using node v12.18.0 (npm v6.14.4)
6:14:20 PM: Started restoring cached build plugins
6:14:20 PM: Finished restoring cached build plugins
6:14:20 PM: Attempting ruby version 2.7.1, read from environment
6:14:21 PM: Using ruby version 2.7.1
6:14:22 PM: Using PHP version 5.6
6:14:22 PM: 5.2 is already installed.
6:14:22 PM: Using Swift version 5.2
6:14:22 PM: Started restoring cached node modules
6:14:22 PM: Finished restoring cached node modules
6:14:22 PM: Installing NPM modules using NPM version 6.14.4
6:14:49 PM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
6:14:49 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:14:50 PM: > core-js@3.6.5 postinstall /opt/build/repo/node_modules/core-js
6:14:50 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:14:50 PM: > core-js-pure@3.6.5 postinstall /opt/build/repo/node_modules/core-js-pure
6:14:50 PM: > node -e “try{require(‘./postinstall’)}catch(e){}”
6:14:52 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
6:14:52 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:14:52 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
6:14:52 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:14:52 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
6:14:52 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:14:52 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
6:14:52 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:14:52 PM: added 1610 packages from 802 contributors and audited 1617 packages in 29.198s
6:14:53 PM: 65 packages are looking for funding
6:14:53 PM: run npm fund
for details
6:14:53 PM: found 0 vulnerabilities
6:14:53 PM: NPM modules installed
6:14:53 PM: Started restoring cached go cache
6:14:53 PM: Finished restoring cached go cache
6:14:53 PM: go version go1.14.4 linux/amd64
6:14:54 PM: go version go1.14.4 linux/amd64
6:14:54 PM: Installing missing commands
6:14:54 PM: Verify run directory
6:14:55 PM:
6:14:55 PM: ┌─────────────────────────────┐
6:14:55 PM: │ Netlify Build │
6:14:55 PM: └─────────────────────────────┘
6:14:55 PM:
6:14:55 PM: ❯ Version
6:14:55 PM: @netlify/build 3.3.0
6:14:55 PM:
6:14:55 PM: ❯ Flags
6:14:55 PM: deployId: 5f3e91e4fe514400e681a76a
6:14:55 PM: mode: buildbot
6:14:55 PM:
6:14:55 PM: ❯ Current directory
6:14:55 PM: /opt/build/repo
6:14:55 PM:
6:14:55 PM: ❯ Config file
6:14:55 PM: No config file was defined: using default values.
6:14:55 PM:
6:14:55 PM: ❯ Context
6:14:55 PM: production
6:14:55 PM:
6:14:55 PM: ┌───────────────────────────────────┐
6:14:55 PM: │ 1. Build command from Netlify app │
6:14:55 PM: └───────────────────────────────────┘
6:14:55 PM:
6:14:55 PM: $ CI= npm run build
6:14:55 PM: > my-app@0.1.0 build /opt/build/repo
6:14:55 PM: > react-scripts build
6:14:56 PM: Creating an optimized production build…
6:15:08 PM: Failed to compile.
6:15:08 PM:
6:15:08 PM: ./src/component/timer/timer.module.scss
6:15:08 PM: To import Sass files, you first need to install node-sass.
6:15:08 PM: Run npm install node-sass
or yarn add node-sass
inside your workspace.
6:15:08 PM: Require stack:
6:15:08 PM: - /opt/build/repo/node_modules/sass-loader/dist/getDefaultSassImplementation.js
6:15:08 PM: - /opt/build/repo/node_modules/sass-loader/dist/getSassImplementation.js
6:15:08 PM: - /opt/build/repo/node_modules/sass-loader/dist/index.js
6:15:08 PM: - /opt/build/repo/node_modules/sass-loader/dist/cjs.js
6:15:08 PM: - /opt/build/repo/node_modules/loader-runner/lib/loadLoader.js
6:15:08 PM: - /opt/build/repo/node_modules/loader-runner/lib/LoaderRunner.js
6:15:08 PM: - /opt/build/repo/node_modules/webpack/lib/NormalModule.js
6:15:08 PM: - /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js
6:15:08 PM: - /opt/build/repo/node_modules/webpack/lib/Compiler.js
6:15:08 PM: - /opt/build/repo/node_modules/webpack/lib/webpack.js
6:15:08 PM: - /opt/build/repo/node_modules/react-scripts/scripts/build.js
6:15:08 PM: npm ERR! code ELIFECYCLE
6:15:08 PM: npm ERR! errno 1
6:15:08 PM: npm ERR! my-app@0.1.0 build: react-scripts build
6:15:08 PM: npm ERR! Exit status 1
6:15:08 PM: npm ERR!
6:15:08 PM: npm ERR! Failed at the my-app@0.1.0 build script.
6:15:08 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:15:08 PM: npm ERR! A complete log of this run can be found in:
6:15:08 PM: npm ERR! /opt/buildhome/.npm/_logs/2020-08-20T15_15_08_851Z-debug.log
6:15:08 PM:
6:15:08 PM: If the build failed with a warning about “process.env.CI = true”, this is due to “create-react-app” treating warnings as errors when in CI. In order to fix this problem, please either:
6:15:08 PM: - Fix the issues highlighted by the warnings above.
6:15:08 PM: - Or modify the “scripts.build” command in your “package.json” from “react-scripts build” to “CI= react-scripts build”
6:15:08 PM: More information can be found at Build troubleshooting tips | Netlify Docs
6:15:08 PM:
6:15:08 PM: ┌─────────────────────────────┐
6:15:08 PM: │ “build.command” failed │
6:15:08 PM: └─────────────────────────────┘
6:15:08 PM:
6:15:08 PM: Error message
6:15:08 PM: Command failed with exit code 1: CI= npm run build
6:15:08 PM:
6:15:08 PM: Error location
6:15:08 PM: In Build command from Netlify app:
6:15:08 PM: CI= npm run build
6:15:08 PM:
6:15:08 PM: Resolved config
6:15:08 PM: build:
6:15:08 PM: command: CI= npm run build
6:15:08 PM: commandOrigin: ui
6:15:08 PM: publish: /opt/build/repo/build
6:15:08 PM: Caching artifacts
6:15:08 PM: Started saving node modules
6:15:08 PM: Finished saving node modules
6:15:08 PM: Started saving build plugins
6:15:08 PM: Finished saving build plugins
6:15:08 PM: Started saving pip cache
6:15:09 PM: Finished saving pip cache
6:15:09 PM: Started saving emacs cask dependencies
6:15:09 PM: Finished saving emacs cask dependencies
6:15:09 PM: Started saving maven dependencies
6:15:09 PM: Finished saving maven dependencies
6:15:09 PM: Started saving boot dependencies
6:15:09 PM: Finished saving boot dependencies
6:15:09 PM: Started saving go dependencies
6:15:09 PM: Finished saving go dependencies
6:15:11 PM: Error running command: Build script returned non-zero exit code: 1
6:15:11 PM: Failing build: Failed to build site
6:15:11 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
6:15:11 PM: Finished processing build request in 55.552910822s