Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chipzoller/2bcf71fe41c67a25f3bc5875a5f6fba9 to your computer and use it in GitHub Desktop.
Save chipzoller/2bcf71fe41c67a25f3bc5875a5f6fba9 to your computer and use it in GitHub Desktop.
Netlify log
1:43:27 PM: build-image version: c11c0eb9939c949586b0f78302107908b668a11e (focal)
1:43:27 PM: buildbot version: c11c0eb9939c949586b0f78302107908b668a11e
1:43:28 PM: Building without cache
1:43:28 PM: Starting to prepare the repo for build
1:43:28 PM: No cached dependencies found. Cloning fresh repo
1:43:28 PM: git clone --filter=blob:none https://github.com/kyverno/website
1:43:28 PM: Preparing Git Reference pull/904/head
1:43:30 PM: Custom build command detected. Proceeding with the specified command: 'npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL'
1:43:30 PM: Starting to install dependencies
1:43:30 PM: Python version set to 3.8
1:43:30 PM: Attempting Ruby version 2.7.1, read from environment
1:43:31 PM: Required ruby-2.7.1 is not installed - installing.
1:43:31 PM: Searching for binary rubies, this might take some time.
1:43:31 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.7.1.tar.bz2
1:43:31 PM: Checking requirements for ubuntu.
1:43:32 PM: Requirements installation successful.
1:43:32 PM: ruby-2.7.1 - #configure
1:43:32 PM: ruby-2.7.1 - #download
1:43:32 PM: ruby-2.7.1 - #validate archive
1:43:36 PM: ruby-2.7.1 - #extract
1:43:37 PM: ruby-2.7.1 - #validate binary
1:43:38 PM: ruby-2.7.1 - #setup
1:43:38 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1@global
1:43:38 PM: ruby-2.7.1 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
1:43:38 PM: ruby-2.7.1 - #generating global wrappers........
1:43:38 PM: ruby-2.7.1 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.7.1
1:43:38 PM: ruby-2.7.1 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
1:43:39 PM: ruby-2.7.1 - #generating default wrappers........
1:43:39 PM: Using /opt/buildhome/.rvm/gems/ruby-2.7.1
1:43:39 PM: Using Ruby version 2.7.1
1:43:39 PM: Started restoring cached go cache
1:43:39 PM: Finished restoring cached go cache
1:43:39 PM: Installing Go version 1.14.4 (requested 1.14.4)
1:43:44 PM: go version go1.14.4 linux/amd64
1:43:44 PM: Using PHP version 8.0
1:43:44 PM: Installing Hugo 0.113.0
1:43:45 PM: hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended linux/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
1:43:46 PM: Downloading and installing node v12.18.0...
1:43:46 PM: Downloading https://nodejs.org/dist/v12.18.0/node-v12.18.0-linux-x64.tar.xz...
1:43:46 PM: Computing checksum with sha256sum
1:43:46 PM: Checksums matched!
1:43:48 PM: Now using node v12.18.0 (npm v6.14.4)
1:43:48 PM: Started restoring cached build plugins
1:43:48 PM: Finished restoring cached build plugins
1:43:48 PM: Install dependencies script success
1:43:48 PM: Starting build script
1:43:49 PM: Detected 0 framework(s)
1:43:49 PM: Section completed: initializing
1:43:50 PM: ​
1:43:50 PM: Netlify Build
1:43:50 PM: ────────────────────────────────────────────────────────────────
1:43:50 PM: ​
1:43:50 PM: ❯ Version
1:43:50 PM: @netlify/build 29.12.1
1:43:50 PM: ​
1:43:50 PM: ❯ Flags
1:43:50 PM: baseRelDir: true
1:43:50 PM: buildId: 649093bc72e88014f96e020c
1:43:50 PM: deployId: 649093bc72e88014f96e020e
1:43:50 PM: ​
1:43:50 PM: ❯ Current directory
1:43:50 PM: /opt/build/repo
1:43:50 PM: ​
1:43:50 PM: ❯ Config file
1:43:50 PM: /opt/build/repo/netlify.toml
1:43:50 PM: ​
1:43:50 PM: ❯ Context
1:43:50 PM: deploy-preview
1:43:50 PM: ​
1:43:50 PM: build.command from netlify.toml
1:43:50 PM: ────────────────────────────────────────────────────────────────
1:43:50 PM: ​
1:43:50 PM: $ npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
1:43:51 PM: npm WARN saveError ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:51 PM: npm notice created a lockfile as package-lock.json. You should commit this file.
1:43:51 PM: npm WARN enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:51 PM: npm WARN autoprefixer@10.4.14 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
1:43:51 PM: npm WARN repo No description
1:43:51 PM: npm WARN repo No repository field.
1:43:51 PM: npm WARN repo No README data
1:43:51 PM: npm WARN repo No license field.
1:43:51 PM: + autoprefixer@10.4.14
1:43:51 PM: added 11 packages from 9 contributors and audited 11 packages in 0.885s
1:43:51 PM: 5 packages are looking for funding
1:43:51 PM: run `npm fund` for details
1:43:51 PM: found 0 vulnerabilities
1:43:55 PM: npm WARN saveError ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:55 PM: npm WARN notsup Unsupported engine for postcss-cli@10.1.0: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: postcss-cli@10.1.0
1:43:55 PM: npm WARN notsup Unsupported engine for globby@13.2.0: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: globby@13.2.0
1:43:55 PM: npm WARN notsup Unsupported engine for fs-extra@11.1.1: wanted: {"node":">=14.14"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: fs-extra@11.1.1
1:43:55 PM: npm WARN notsup Unsupported engine for slash@5.1.0: wanted: {"node":">=14.16"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: slash@5.1.0
1:43:55 PM: npm WARN notsup Unsupported engine for postcss-load-config@4.0.1: wanted: {"node":">= 14"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: postcss-load-config@4.0.1
1:43:55 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
1:43:55 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1:43:55 PM: npm WARN notsup Unsupported engine for yaml@2.3.1: wanted: {"node":">= 14"} (current: {"node":"12.18.0","npm":"6.14.4"})
1:43:55 PM: npm WARN notsup Not compatible with your version of node/npm: yaml@2.3.1
1:43:55 PM: npm WARN enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:55 PM: npm WARN autoprefixer@10.4.14 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
1:43:55 PM: npm WARN postcss-cli@10.1.0 requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
1:43:55 PM: npm WARN postcss-reporter@7.0.5 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
1:43:55 PM: npm WARN repo No description
1:43:55 PM: npm WARN repo No repository field.
1:43:55 PM: npm WARN repo No README data
1:43:55 PM: npm WARN repo No license field.
1:43:55 PM: + postcss-cli@10.1.0
1:43:55 PM: added 60 packages from 55 contributors and audited 82 packages in 3.15s
1:43:55 PM: 17 packages are looking for funding
1:43:55 PM: run `npm fund` for details
1:43:55 PM: found 0 vulnerabilities
1:43:56 PM: npm WARN saveError ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:56 PM: npm WARN enoent ENOENT: no such file or directory, open '/opt/build/repo/package.json'
1:43:56 PM: npm WARN repo No description
1:43:56 PM: npm WARN repo No repository field.
1:43:56 PM: npm WARN repo No README data
1:43:56 PM: npm WARN repo No license field.
1:43:56 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
1:43:56 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1:43:56 PM: + postcss@8.4.24
1:43:56 PM: added 3 packages from 38 contributors and audited 125 packages in 0.616s
1:43:56 PM: 19 packages are looking for funding
1:43:56 PM: run `npm fund` for details
1:43:56 PM: found 0 vulnerabilities
1:43:58 PM: hugo: downloading modules …
1:44:03 PM: hugo: collected modules in 7411 ms
1:44:03 PM: Start building sites …
1:44:03 PM: hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a+extended linux/amd64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
1:44:06 PM: Total in 10051 ms
1:44:06 PM: Error: error building site: POSTCSS: failed to transform "scss/main.css" (text/css): (node:5927) ExperimentalWarning: The ESM module loader is experimental.
1:44:06 PM: internal/modules/run_main.js:54
1:44:06 PM: internalBinding('errors').triggerUncaughtException(
1:44:06 PM: ^
1:44:06 PM: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
1:44:06 PM: at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:720:11)
1:44:06 PM: at Loader.resolve (internal/modules/esm/loader.js:97:40)
1:44:06 PM: at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
1:44:06 PM: at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:42:40)
1:44:06 PM: at link (internal/modules/esm/module_job.js:41:36) {
1:44:06 PM: code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
1:44:06 PM: }
1:44:06 PM: ​
1:44:06 PM: "build.command" failed
1:44:06 PM: ────────────────────────────────────────────────────────────────
1:44:06 PM: ​
1:44:06 PM: Error message
1:44:06 PM: Command failed with exit code 1: npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL (https://ntl.fyi/exit-code-1)
1:44:06 PM: ​
1:44:06 PM: Error location
1:44:06 PM: In build.command from netlify.toml:
1:44:06 PM: npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
1:44:06 PM: ​
1:44:06 PM: Resolved config
1:44:06 PM: build:
1:44:06 PM: command: npm install --save-dev autoprefixer && npm install --save-dev postcss-cli && npm install -D postcss && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL
1:44:06 PM: commandOrigin: config
1:44:06 PM: environment:
1:44:06 PM: - REVIEW_ID
1:44:06 PM: - HUGO_VERSION
1:44:06 PM: publish: /opt/build/repo/public
1:44:06 PM: publishOrigin: config
1:44:06 PM: redirects:
1:44:06 PM: - from: /npmjs/*
status: 200
to: /npmjs/
redirectsOrigin: config
Caching artifacts
1:44:06 PM: Started saving node modules
1:44:06 PM: Finished saving node modules
1:44:06 PM: Started saving build plugins
1:44:06 PM: Finished saving build plugins
1:44:06 PM: Started saving pip cache
1:44:06 PM: Finished saving pip cache
1:44:06 PM: Started saving emacs cask dependencies
1:44:06 PM: Finished saving emacs cask dependencies
1:44:06 PM: Started saving maven dependencies
1:44:06 PM: Finished saving maven dependencies
1:44:06 PM: Started saving boot dependencies
1:44:08 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
1:44:06 PM: Finished saving boot dependencies
1:44:06 PM: Started saving rust rustup cache
1:44:06 PM: Finished saving rust rustup cache
1:44:06 PM: Started saving go dependencies
1:44:06 PM: Finished saving go dependencies
1:44:07 PM: Cached Ruby version 2.7.1
1:44:07 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
1:44:07 PM: Failing build: Failed to build site
1:44:08 PM: Finished processing build request in 40.451s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment