I got this error on netlify.
I am sure the code is built in my local machine but here not.
there is my rep
https://github.com/Power50015/interactive-agency-bulma-team-template/blob/master/README.md
and the clipboard
6:43:41 PM: Build ready to start
6:43:43 PM: build-image version: 53b83b6bede2920f236b25b6f5a95334320dc849
6:43:43 PM: build-image tag: v3.6.0
6:43:43 PM: buildbot version: 94ed42511c4e70547a960237db686b74875fef2d
6:43:43 PM: Building without cache
6:43:43 PM: Starting to prepare the repo for build
6:43:44 PM: No cached dependencies found. Cloning fresh repo
6:43:44 PM: git clone https://github.com/Power50015/interactive-agency-bulma-team-template
6:43:48 PM: Preparing Git Reference refs/heads/master
6:43:50 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'dist' versus '/dist' in the Netlify UI
6:43:50 PM: Starting build script
6:43:50 PM: Installing dependencies
6:43:50 PM: Python version set to 2.7
6:43:52 PM: v12.18.0 is already installed.
6:43:52 PM: Now using node v12.18.0 (npm v6.14.4)
6:43:52 PM: Started restoring cached build plugins
6:43:52 PM: Finished restoring cached build plugins
6:43:53 PM: Attempting ruby version 2.7.1, read from environment
6:43:54 PM: Using ruby version 2.7.1
6:43:55 PM: Using PHP version 5.6
6:43:55 PM: Started restoring cached node modules
6:43:55 PM: Finished restoring cached node modules
6:43:55 PM: Installing NPM modules using NPM version 6.14.4
6:44:12 PM: npm WARN interactive-agency-bulma-team-template@2.1.0 No repository field.
6:44:12 PM: npm WARN interactive-agency-bulma-team-template@2.1.0 license should be a valid SPDX license expression
6:44:12 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/watchpack/node_modules/fsevents):
6:44:12 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
6:44:12 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
6:44:12 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:44:12 PM: added 801 packages from 434 contributors and audited 806 packages in 15.796s
6:44:12 PM: 37 packages are looking for funding
6:44:12 PM: run `npm fund` for details
6:44:12 PM: found 0 vulnerabilities
6:44:12 PM: NPM modules installed
6:44:13 PM: Started restoring cached go cache
6:44:13 PM: Finished restoring cached go cache
6:44:13 PM: go version go1.14.4 linux/amd64
6:44:13 PM: go version go1.14.4 linux/amd64
6:44:13 PM: Installing missing commands
6:44:13 PM: Verify run directory
6:44:15 PM: β
6:44:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:15 PM: Netlify Build
6:44:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:15 PM: β
6:44:15 PM: β― Version
6:44:15 PM: @netlify/build 7.0.0
6:44:15 PM: β
6:44:15 PM: β― Flags
6:44:15 PM: deployId: 5fd644bd2a4b8d1b759d925d
6:44:15 PM: mode: buildbot
6:44:15 PM: β
6:44:15 PM: β― Current directory
6:44:15 PM: /opt/build/repo
6:44:15 PM: β
6:44:15 PM: β― Config file
6:44:15 PM: No config file was defined: using default values.
6:44:15 PM: β
6:44:15 PM: β― Context
6:44:15 PM: production
6:44:15 PM: β
6:44:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:15 PM: 1. Build command from Netlify app
6:44:15 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:15 PM: β
6:44:15 PM: $ npm run build
6:44:15 PM: > interactive-agency-bulma-team-template@2.1.0 build /opt/build/repo
6:44:15 PM: > webpack --config webpack.prod.js
6:44:17 PM: Insufficient number of arguments or no entry found.
6:44:17 PM: Alternatively, run 'webpack(-cli) --help' for usage info.
6:44:17 PM: Hash: 023417f2bce1492f0eb6
6:44:17 PM: Version: webpack 4.44.2
6:44:17 PM: Time: 450ms
6:44:17 PM: Built at: 12/13/2020 4:44:17 PM
6:44:17 PM: 1 asset
6:44:17 PM: ERROR in Entry module not found: Error: Can't resolve './src/js/main.js' in '/opt/build/repo'
6:44:17 PM: ERROR in Error: Child compilation failed:
6:44:17 PM: Module not found: Error: Can't resolve '../img/Logo.png' in '/opt/build/repo/s rc/html': Error: Can't resolve '../img/Logo.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Object1.png' in '/opt/build/rep o/src/html': Error: Can't resolve '../img/Object1.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Object2.png' in '/opt/build/rep o/src/html': Error: Can't resolve '../img/Object2.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Object3.png' in '/opt/build/rep o/src/html': Error: Can't resolve '../img/Object3.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Object4.png' in '/opt/build/rep o/src/html': Error: Can't resolve '../img/Object4.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Slide1.jpg' in '/opt/build/repo /src/html': Error: Can't resolve '../img/Slide1.jpg' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Slide2.jpg' in '/opt/build/repo /src/html': Error: Can't resolve '../img/Slide2.jpg' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/Slide3.jpg' in '/opt/build/repo /src/html': Error: Can't resolve '../img/Slide3.jpg' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/arrow.png' in '/opt/build/repo/ src/html': Error: Can't resolve '../img/arrow.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/arrow2.png' in '/opt/build/repo /src/html': Error: Can't resolve '../img/arrow2.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/scrooldown.png' in '/opt/build/ repo/src/html': Error: Can't resolve '../img/scrooldown.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/team1.png' in '/opt/build/repo/ src/html': Error: Can't resolve '../img/team1.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/team2.png' in '/opt/build/repo/ src/html': Error: Can't resolve '../img/team2.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/team3.png' in '/opt/build/repo/ src/html': Error: Can't resolve '../img/team3.png' in '/opt/build/repo/src/html' Module not found: Error: Can't resolve '../img/team4.png' in '/opt/build/repo/ src/html': Error: Can't resolve '../img/team4.png' in '/opt/build/repo/src/html'
6:44:17 PM: - compiler.js:79
6:44:17 PM: [repo]/[html-webpack-plugin]/lib/compiler.js:79:16
6:44:17 PM: - Compiler.js:343
6:44:17 PM: [repo]/[webpack]/lib/Compiler.js:343:11
6:44:17 PM: - Compiler.js:681
6:44:17 PM: [repo]/[webpack]/lib/Compiler.js:681:15
6:44:17 PM: - Hook.js:154 AsyncSeriesHook.lazyCompileHook
6:44:17 PM: [repo]/[tapable]/lib/Hook.js:154:20
6:44:17 PM: - Compiler.js:678
6:44:17 PM: [repo]/[webpack]/lib/Compiler.js:678:31
6:44:17 PM: - Hook.js:154 AsyncSeriesHook.lazyCompileHook
6:44:17 PM: [repo]/[tapable]/lib/Hook.js:154:20
6:44:17 PM: - Compilation.js:1423
6:44:17 PM: [repo]/[webpack]/lib/Compilation.js:1423:35
6:44:17 PM: - Hook.js:154 AsyncSeriesHook.lazyCompileHook
6:44:17 PM: [repo]/[tapable]/lib/Hook.js:154:20
6:44:17 PM: - Compilation.js:1414
6:44:17 PM: [repo]/[webpack]/lib/Compilation.js:1414:32
6:44:17 PM: - index.js:321
6:44:17 PM: [repo]/[terser-webpack-plugin]/dist/index.js:321:9
6:44:17 PM: - TaskRunner.js:48 TaskRunner.run
6:44:17 PM: [repo]/[terser-webpack-plugin]/dist/TaskRunner.js:48:7
6:44:17 PM: - index.js:227 TerserPlugin.optimizeFn
6:44:17 PM: [repo]/[terser-webpack-plugin]/dist/index.js:227:18
6:44:17 PM: - task_queues.js:97 processTicksAndRejections
6:44:17 PM: internal/process/task_queues.js:97:5
6:44:17 PM:
6:44:17 PM: Child html-webpack-plugin for "index.html":
6:44:17 PM: 1 asset
6:44:17 PM: Entrypoint undefined = index.html
6:44:17 PM: [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html 10.3 KiB {0} [built]
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Logo.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:1447-1473
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Object1.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:4993-5022
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Object2.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:4217-4246
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Object3.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:4577-4606
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Object4.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:5367-5396
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Slide1.jpg' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:7253-7281
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Slide2.jpg' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:7788-7816
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/Slide3.jpg' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:6716-6744
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/arrow.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:6120-6147
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/arrow2.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:6025-6053
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/scrooldown.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:2471-2503
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/team1.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:8413-8440
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/team2.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:8669-8696
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/team3.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:8927-8954
6:44:17 PM: ERROR in ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html)
6:44:17 PM: Module not found: Error: Can't resolve '../img/team4.png' in '/opt/build/repo/src/html' @ ./src/html/index.html (./node_modules/html-webpack-plugin/lib/loader.js!./src/html/index.html) 1:9183-9210
6:44:17 PM: npm ERR! code ELIFECYCLE
6:44:17 PM: npm ERR! errno 2
6:44:17 PM: npm ERR! interactive-agency-bulma-team-template@2.1.0 build: `webpack --config webpack.prod.js`
6:44:17 PM: npm ERR! Exit status 2
6:44:17 PM: npm ERR!
6:44:17 PM: npm ERR! Failed at the interactive-agency-bulma-team-template@2.1.0 build script.
6:44:17 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
6:44:17 PM: npm ERR! A complete log of this run can be found in:
6:44:17 PM: npm ERR! /opt/buildhome/.npm/_logs/2020-12-13T16_44_17_732Z-debug.log
6:44:17 PM: β
6:44:17 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:17 PM: "build.command" failed
6:44:17 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
6:44:17 PM: β
6:44:17 PM: Error message
6:44:17 PM: Command failed with exit code 2: npm run build
6:44:17 PM: β
6:44:17 PM: Error location
6:44:17 PM: In Build command from Netlify app:
6:44:17 PM: npm run build
6:44:17 PM: β
6:44:17 PM: Resolved config
6:44:17 PM: build:
6:44:17 PM: command: npm run build
6:44:17 PM: commandOrigin: ui
6:44:17 PM: publish: /opt/build/repo/dist
6:44:17 PM: Caching artifacts
6:44:17 PM: Started saving node modules
6:44:17 PM: Finished saving node modules
6:44:17 PM: Started saving build plugins
6:44:17 PM: Finished saving build plugins
6:44:17 PM: Started saving pip cache
6:44:18 PM: Finished saving pip cache
6:44:18 PM: Started saving emacs cask dependencies
6:44:18 PM: Finished saving emacs cask dependencies
6:44:18 PM: Started saving maven dependencies
6:44:18 PM: Finished saving maven dependencies
6:44:18 PM: Started saving boot dependencies
6:44:18 PM: Finished saving boot dependencies
6:44:18 PM: Started saving rust rustup cache
6:44:18 PM: Finished saving rust rustup cache
6:44:18 PM: Started saving rust cargo bin cache
6:44:18 PM: Finished saving rust cargo bin cache
6:44:18 PM: Started saving go dependencies
6:44:18 PM: Finished saving go dependencies
6:44:21 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:44:21 PM: Failing build: Failed to build site
6:44:21 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2
6:44:21 PM: Finished processing build request in 37.442251896s