Hello everybody. I just switched from Jekyll to Eleventy for my personal website (source code). I changed the deploy command from jekyll build
to npm start
, and I triggered a deploy without the cache. Nevertheless, the build fails with the following log:
2:42:46 PM: Build ready to start
2:42:48 PM: build-image version: 195fbe127e5c374d9c4758652cb62e3b8936a395 (focal)
2:42:48 PM: build-image tag: v4.6.0
2:42:48 PM: buildbot version: 4ac77ee15240cafa5a14a04b6ca18d8959fa98e6
2:42:48 PM: Fetching cached dependencies
2:42:48 PM: Failed to fetch cache, continuing with build
2:42:48 PM: Starting to prepare the repo for build
2:42:49 PM: No cached dependencies found. Cloning fresh repo
2:42:49 PM: git clone https://github.com/xplosionmind/xplosionmind
2:43:00 PM: Preparing Git Reference refs/heads/main
2:43:27 PM: Parsing package.json dependencies
2:43:28 PM: Starting build script
2:43:28 PM: Installing dependencies
2:43:28 PM: Python version set to 2.7
2:43:29 PM: Downloading and installing node v10.24.1...
2:43:29 PM: Downloading https://nodejs.org/dist/v10.24.1/node-v10.24.1-linux-x64.tar.xz...
2:43:29 PM: Computing checksum with sha256sum
2:43:30 PM: Checksums matched!
2:43:31 PM: Now using node v10.24.1 (npm v6.14.12)
2:43:31 PM: Started restoring cached build plugins
2:43:31 PM: Finished restoring cached build plugins
2:43:31 PM: Attempting ruby version 2.6.2, read from environment
2:43:32 PM: Required ruby-2.6.2 is not installed - installing.
2:43:33 PM: Searching for binary rubies, this might take some time.
2:43:33 PM: Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/20.04/x86_64/ruby-2.6.2.tar.bz2
2:43:33 PM: Checking requirements for ubuntu.
2:43:33 PM: Requirements installation successful.
2:43:34 PM: ruby-2.6.2 - #configure
2:43:34 PM: ruby-2.6.2 - #download
2:43:34 PM: ruby-2.6.2 - #validate archive
2:43:39 PM: ruby-2.6.2 - #extract
2:43:41 PM: ruby-2.6.2 - #validate binary
2:43:42 PM: ruby-2.6.2 - #setup
2:43:42 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2@global
2:43:42 PM: ruby-2.6.2 - #importing gemset /opt/buildhome/.rvm/gemsets/global.gems........................................
2:43:43 PM: ruby-2.6.2 - #generating global wrappers........
2:43:43 PM: ruby-2.6.2 - #gemset created /opt/buildhome/.rvm/gems/ruby-2.6.2
2:43:43 PM: ruby-2.6.2 - #importing gemsetfile /opt/buildhome/.rvm/gemsets/default.gems evaluated to empty gem list
2:43:43 PM: ruby-2.6.2 - #generating default wrappers........
2:43:44 PM: Using /opt/buildhome/.rvm/gems/ruby-2.6.2
2:43:44 PM: Using ruby version 2.6.2
2:43:44 PM: Using PHP version 8.0
2:43:44 PM: Started restoring cached node modules
2:43:44 PM: Finished restoring cached node modules
2:43:45 PM: Installing NPM modules using NPM version 6.14.12
2:43:55 PM: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm ERR! code EBADPLATFORM
2:43:55 PM: npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2:43:55 PM: npm ERR! notsup Valid OS: darwin
2:43:55 PM: npm ERR! notsup Valid Arch: any
2:43:55 PM: npm ERR! notsup Actual OS: linux
2:43:55 PM: Creating deploy upload records
2:43:55 PM: npm ERR! notsup Actual Arch: x64
2:43:55 PM: npm ERR! A complete log of this run can be found in:
2:43:55 PM: npm ERR! /opt/buildhome/.npm/_logs/2022-03-23T13_43_55_215Z-debug.log
2:43:55 PM: Error during NPM install
2:43:55 PM: Build was terminated: Build script returned non-zero exit code: 1
2:43:55 PM: Failing build: Failed to build site
2:43:55 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
2:43:55 PM: Finished processing build request in 1m7.035181548s
Could you please help me in pinpointing the problem?
Thank you very much!