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

downgrade netlify-cli for now as it breaks netlify #5114

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

tjenkinson
Copy link
Member

@tjenkinson tjenkinson commented Dec 16, 2022

This PR will...

Downgrade netlify-cli for now as it breaks netlify.

9:18:39 AM: build-image version: 524714d1a66d1a967316f5c39465e22c77fdd56c (focal)
9:18:39 AM: build-image tag: v4.16.0
9:18:39 AM: buildbot version: 2956156cff73cc91029b26e56f43b4bf895eefff
9:18:39 AM: Fetching cached dependencies
9:18:39 AM: Starting to download cache of 372.8MB
9:18:42 AM: Finished downloading cache in 3.41719096s
9:18:42 AM: Starting to extract cache
9:18:45 AM: Finished extracting cache in 2.574730015s
9:18:45 AM: Finished fetching cache in 6.063038567s
9:18:45 AM: Starting to prepare the repo for build
9:18:45 AM: Preparing Git Reference pull/5112/head
9:18:46 AM: Parsing package.json dependencies
9:18:47 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'netlify' versus '/' in the Netlify UI
9:18:47 AM: Different build command detected, going to use the one specified in the Netlify configuration file: './scripts/netlify.sh' versus '' in the Netlify UI
9:18:47 AM: Section completed: initializing
9:18:47 AM: Starting build script
9:18:47 AM: Installing dependencies
9:18:47 AM: Python version set to 2.7
9:18:47 AM: Started restoring cached node version
9:18:48 AM: Finished restoring cached node version
9:18:49 AM: v18.12.1 is already installed.
9:18:49 AM: Now using node v18.12.1 (npm v8.19.2)
9:18:49 AM: Enabling node corepack
9:18:49 AM: Started restoring cached build plugins
9:18:49 AM: Finished restoring cached build plugins
9:18:50 AM: Attempting ruby version 2.7.2, read from environment
9:18:50 AM: Using ruby version 2.7.2
9:18:50 AM: Using PHP version 8.0
9:18:50 AM: No npm workspaces detected
9:18:50 AM: Started restoring cached node modules
9:18:50 AM: Finished restoring cached node modules
9:18:51 AM: Installing NPM modules using NPM version 8.19.2
9:18:56 AM: npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
9:19:03 AM: > prepare
9:19:03 AM: > husky install
9:19:03 AM: husky - Git hooks installed
9:19:03 AM: added 39 packages, removed 3 packages, changed 119 packages, and audited 3346 packages in 13s
9:19:03 AM: 284 packages are looking for funding
9:19:03 AM:   run `npm fund` for details
9:19:03 AM: 39 vulnerabilities (1 low, 14 moderate, 23 high, 1 critical)
9:19:03 AM: To address issues that do not require attention, run:
9:19:03 AM:   npm audit fix
9:19:03 AM: To address all issues possible (including breaking changes), run:
9:19:03 AM:   npm audit fix --force
9:19:03 AM: Some issues need review, and may require choosing
9:19:03 AM: a different dependency.
9:19:03 AM: Run `npm audit` for details.
9:19:03 AM: NPM modules installed
9:19:03 AM: Creating package sha
9:19:04 AM: Started restoring cached go cache
9:19:04 AM: Finished restoring cached go cache
9:19:04 AM: Installing Go version 1.10 (requested 1.10)
9:19:07 AM: unset GOOS;
9:19:07 AM: unset GOARCH;
9:19:07 AM: export GOROOT='/opt/buildhome/.gimme/versions/go1.10.linux.amd64';
9:19:07 AM: export PATH="/opt/buildhome/.gimme/versions/go1.10.linux.amd64/bin:${PATH}";
9:19:07 AM: go version >&2;
9:19:07 AM: export GIMME_ENV="/opt/buildhome/.gimme/env/go1.10.linux.amd64.env"
9:19:07 AM: go version go1.10 linux/amd64
9:19:08 AM: Detected 0 framework(s)
9:19:08 AM: Installing missing commands
9:19:08 AM: Verify run directory
9:19:09 AM: ​
9:19:09 AM: ────────────────────────────────────────────────────────────────
9:19:09 AM:   Netlify Build                                                 
9:19:09 AM: ────────────────────────────────────────────────────────────────
9:19:09 AM: ​
9:19:09 AM: ❯ Version
9:19:09 AM:   @netlify/build 29.1.1
9:19:09 AM: ​
9:19:09 AM: ❯ Flags
9:19:09 AM:   baseRelDir: false
9:19:09 AM:   buildId: 639c37ede360b50008f95737
9:19:09 AM:   deployId: 639c37ede360b50008f95739
9:19:09 AM: ​
9:19:09 AM: ❯ Current directory
9:19:09 AM:   /opt/build/repo
9:19:09 AM: ​
9:19:09 AM: ❯ Config file
9:19:09 AM:   /opt/build/repo/netlify.toml
9:19:09 AM: ​
9:19:09 AM: ❯ Context
9:19:09 AM:   deploy-preview
9:19:09 AM: ​
9:19:09 AM: ────────────────────────────────────────────────────────────────
9:19:09 AM:   1. build.command from netlify.toml                            
9:19:09 AM: ────────────────────────────────────────────────────────────────
9:19:09 AM: ​
9:19:09 AM: $ ./scripts/netlify.sh
9:19:11 AM: npm ERR! code EBADPLATFORM
9:19:11 AM: npm ERR! notsup Unsupported platform for @esbuild/android-arm@0.15.15: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"x64"})
9:19:11 AM: npm ERR! notsup Valid OS:    android
9:19:11 AM: npm ERR! notsup Valid Arch:  arm
9:19:11 AM: npm ERR! notsup Actual OS:   linux
9:19:11 AM: npm ERR! notsup Actual Arch: x64
9:19:11 AM: npm ERR! A complete log of this run can be found in:
9:19:11 AM: npm ERR!     /opt/buildhome/.npm/_logs/2022-12-16T09_19_09_618Z-debug-0.log
9:19:11 AM: ​
9:19:11 AM: ────────────────────────────────────────────────────────────────
9:19:11 AM:   "build.command" failed                                        
9:19:11 AM: ────────────────────────────────────────────────────────────────
9:19:11 AM: Creating deploy upload records
9:19:11 AM: ​
9:19:11 AM:   Error message
9:19:11 AM:   Command failed with exit code 1: ./scripts/netlify.sh (https://ntl.fyi/exit-code-1)
9:19:11 AM: ​
9:19:11 AM:   Error location
9:19:11 AM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
9:19:11 AM:   In build.command from netlify.toml:
9:19:11 AM:   ./scripts/netlify.sh
9:19:11 AM: ​
9:19:11 AM:   Resolved config
9:19:11 AM:   build:
9:19:11 AM:     command: ./scripts/netlify.sh
9:19:11 AM:     commandOrigin: config
9:19:11 AM:     environment:
9:19:11 AM:       - REVIEW_ID
9:19:11 AM:       - NODE_VERSION
9:19:11 AM:     publish: /opt/build/repo/netlify
9:19:11 AM:     publishOrigin: config
9:19:11 AM: Caching artifacts
9:19:11 AM: Started saving node modules
9:19:11 AM: Finished saving node modules
9:19:11 AM: Started saving build plugins
9:19:11 AM: Finished saving build plugins
9:19:11 AM: Started saving pip cache
9:19:11 AM: Finished saving pip cache
9:19:11 AM: Started saving emacs cask dependencies
9:19:11 AM: Finished saving emacs cask dependencies
9:19:11 AM: Started saving maven dependencies
9:19:11 AM: Finished saving maven dependencies
9:19:11 AM: Started saving boot dependencies
9:19:11 AM: Finished saving boot dependencies
9:19:11 AM: Started saving rust rustup cache
9:19:11 AM: Finished saving rust rustup cache
9:19:11 AM: Started saving go dependencies
9:19:11 AM: Finished saving go dependencies
9:19:11 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:19:11 AM: Failing build: Failed to build site
9:19:11 AM: Finished processing build request in 32.884172493s

Why is this Pull Request needed?

Netlify won't build

@tjenkinson tjenkinson marked this pull request as ready for review December 16, 2022 09:38
@tjenkinson tjenkinson changed the title downgrade netlify-cli for now as it breaks netlify downgrade netlify-cli for now as it breaks netlify Dec 16, 2022
@tjenkinson tjenkinson enabled auto-merge (squash) December 16, 2022 09:39
@robwalch robwalch merged commit 2535fc5 into master Dec 16, 2022
@robwalch robwalch deleted the downgrade-netlify-cli branch December 16, 2022 16:03
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

Successfully merging this pull request may close these issues.

2 participants