Hi guys,
I am not a developer, and this is my first time using Git control and trying to deploy a web app. I am having issues with deploying via netlify.
So, I am part of a team on GitLab (I am not an admin member). I forked the repo so that I could link it to netlfiy.
I followed the static generation steps via this link:
However, I am getting an error when I try to deploy my site. Details are below.
Netlify Site Name: modest-keller-079a6b
- Build problems? Link or paste the FULL build log & build settings screenshot
11:46:59 AM: Build ready to start 11:47:01 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6 11:47:01 AM: build-image tag: v3.4.1 11:47:01 AM: buildbot version: 8c957a6d09a03023cea4239847cc73a9cb64eeb7 11:47:01 AM: Fetching cached dependencies 11:47:01 AM: Failed to fetch cache, continuing with build 11:47:01 AM: Starting to prepare the repo for build 11:47:06 AM: No cached dependencies found. Cloning fresh repo 11:47:06 AM: git clone git@gitlab.com:olearyb/myuse-starter-barra 11:47:11 AM: Preparing Git Reference refs/heads/development 11:47:12 AM: Starting build script 11:47:12 AM: Installing dependencies 11:47:12 AM: Python version set to 2.7 11:47:14 AM: v12.18.0 is already installed. 11:47:14 AM: Now using node v12.18.0 (npm v6.14.4) 11:47:14 AM: Started restoring cached build plugins 11:47:14 AM: Finished restoring cached build plugins 11:47:14 AM: Attempting ruby version 2.7.1, read from environment 11:47:15 AM: Using ruby version 2.7.1 11:47:16 AM: Using PHP version 5.6 11:47:16 AM: 5.2 is already installed. 11:47:16 AM: Using Swift version 5.2 11:47:16 AM: Started restoring cached node modules 11:47:16 AM: Finished restoring cached node modules 11:47:16 AM: Installing NPM modules using NPM version 6.14.4 11:47:37 AM: > fibers@4.0.3 install /opt/build/repo/node_modules/fibers 11:47:37 AM: > node build.js || nodejs build.js 11:47:37 AM: `linux-x64-72-glibc` exists; testing 11:47:37 AM: Binary is fine; exiting 11:47:37 AM: > core-js@2.6.11 postinstall /opt/build/repo/node_modules/core-js 11:47:37 AM: > node -e "try{require('./postinstall')}catch(e){}" 11:47:37 AM: > ejs@2.7.4 postinstall /opt/build/repo/node_modules/ejs 11:47:37 AM: > node ./postinstall.js 11:47:37 AM: > nuxt@2.12.2 postinstall /opt/build/repo/node_modules/nuxt 11:47:37 AM: > opencollective || exit 0 11:47:39 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents): 11:47:39 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 11:47:39 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents): 11:47:39 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 11:47:39 AM: added 1376 packages from 599 contributors and audited 1384 packages in 21.873s 11:47:39 AM: 58 packages are looking for funding 11:47:39 AM: run `npm fund` for details 11:47:39 AM: found 722 vulnerabilities (716 low, 6 high) 11:47:39 AM: run `npm audit fix` to fix them, or `npm audit` for details 11:47:39 AM: NPM modules installed 11:47:40 AM: Started restoring cached go cache 11:47:40 AM: Finished restoring cached go cache 11:47:40 AM: go version go1.14.4 linux/amd64 11:47:40 AM: go version go1.14.4 linux/amd64 11:47:40 AM: Installing missing commands 11:47:40 AM: Verify run directory 11:47:41 AM: β 11:47:41 AM: βββββββββββββββββββββββββββββββ 11:47:41 AM: β Netlify Build β 11:47:41 AM: βββββββββββββββββββββββββββββββ 11:47:41 AM: β 11:47:41 AM: β― Version 11:47:41 AM: @netlify/build 3.3.5 11:47:41 AM: β 11:47:41 AM: β― Flags 11:47:41 AM: deployId: 5f5b55a3460fe2011fbaf856 11:47:41 AM: mode: buildbot 11:47:41 AM: β 11:47:41 AM: β― Current directory 11:47:41 AM: /opt/build/repo 11:47:41 AM: β 11:47:41 AM: β― Config file 11:47:41 AM: No config file was defined: using default values. 11:47:41 AM: β 11:47:41 AM: β― Context 11:47:41 AM: production 11:47:41 AM: β 11:47:41 AM: βββββββββββββββββββββββββββββββββββββ 11:47:41 AM: β 1. Build command from Netlify app β 11:47:41 AM: βββββββββββββββββββββββββββββββββββββ 11:47:41 AM: β 11:47:41 AM: $ run npm generate 11:47:41 AM: bash: run: command not found 11:47:41 AM: β 11:47:41 AM: βββββββββββββββββββββββββββββββ 11:47:41 AM: β "build.command" failed β 11:47:41 AM: βββββββββββββββββββββββββββββββ 11:47:41 AM: β 11:47:41 AM: Error message 11:47:41 AM: Command failed with exit code 127: run npm generate 11:47:41 AM: β 11:47:41 AM: Error location 11:47:41 AM: In Build command from Netlify app: 11:47:41 AM: run npm generate 11:47:41 AM: β 11:47:41 AM: Resolved config 11:47:41 AM: build: 11:47:41 AM: command: run npm generate 11:47:41 AM: commandOrigin: ui 11:47:41 AM: publish: /opt/build/repo/public 11:47:41 AM: Caching artifacts 11:47:41 AM: Started saving node modules 11:47:41 AM: Finished saving node modules 11:47:41 AM: Started saving build plugins 11:47:41 AM: Finished saving build plugins 11:47:41 AM: Started saving pip cache 11:47:41 AM: Finished saving pip cache 11:47:41 AM: Started saving emacs cask dependencies 11:47:41 AM: Finished saving emacs cask dependencies 11:47:41 AM: Started saving maven dependencies 11:47:41 AM: Finished saving maven dependencies 11:47:41 AM: Started saving boot dependencies 11:47:41 AM: Finished saving boot dependencies 11:47:41 AM: Started saving go dependencies 11:47:41 AM: Finished saving go dependencies 11:47:44 AM: Error running command: Build script returned non-zero exit code: 1 11:47:44 AM: Failing build: Failed to build site 11:47:44 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1 11:47:44 AM: Finished processing build request in 42.500026866s
Thank you for any help and direction.
I did try to do an
npm install
but i still get the same result.