Hello,
this is regarding ‘sad-wiles-3fb80b’ when attempting to deploy a React app from Github,
and this is the log file:
4:58:36 PM: Build ready to start
4:58:38 PM: build-image version: be42e453d6c8f171cc2f654acc29c0a8b60e6d93
4:58:38 PM: build-image tag: v3.7.1
4:58:38 PM: buildbot version: 5c1beefc13c7c9175eeb6c6ddb9d740f7750df5f
4:58:38 PM: Building without cache
4:58:38 PM: Starting to prepare the repo for build
4:58:38 PM: No cached dependencies found. Cloning fresh repo
4:58:38 PM: git clone GitHub - DimiKalligas/strapiCRUD-frontend: backend on Heroku
4:58:39 PM: Preparing Git Reference refs/heads/master
4:58:41 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘dist’ versus ‘dist/’ in the Netlify UI
4:58:41 PM: Starting build script
4:58:41 PM: Installing dependencies
4:58:41 PM: Python version set to 2.7
4:58:42 PM: v12.18.0 is already installed.
4:58:43 PM: Now using node v12.18.0 (npm v6.14.4)
4:58:43 PM: Started restoring cached build plugins
4:58:43 PM: Finished restoring cached build plugins
4:58:43 PM: Attempting ruby version 2.7.1, read from environment
4:58:45 PM: Using ruby version 2.7.1
4:58:45 PM: Using PHP version 5.6
4:58:45 PM: Started restoring cached node modules
4:58:45 PM: Finished restoring cached node modules
4:58:45 PM: Installing NPM modules using NPM version 6.14.4
4:58:50 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
4:58:50 PM: npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
4:58:50 PM: npm ERR! notsup Valid OS: darwin
4:58:50 PM: npm ERR! notsup Valid Arch: any
4:58:50 PM: npm ERR! notsup Actual OS: linux
4:58:50 PM: npm ERR! notsup Actual Arch: x64
4:58:51 PM: npm ERR! A complete log of this run can be found in:
4:58:51 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-04-07T13_58_50_986Z-debug.log
4:58:51 PM: Error during NPM install
4:58:51 PM: Build was terminated: Build script returned non-zero exit code: 1
4:58:51 PM: Failing build: Failed to build site
4:58:51 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
4:58:51 PM: Finished processing build request in 13.103350711s
Deleted node_modules & package-lock.json, and run npm i again, with no success.
Can you please advise on the issue?