I’ve been having trouble to deploy my Netlify Gatsby CMS :
[...]
1:01:10 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
1:01:10 PM: Started restoring cached node modules
1:01:10 PM: Finished restoring cached node modules
1:01:11 PM: Installing NPM modules using Yarn version 1.22.4
1:01:11 PM: yarn install v1.22.4
1:01:11 PM: [1/4] Resolving packages...
1:01:11 PM: warning Lockfile has incorrect entry for "fsevents@~2.3.2". Ignoring it.
1:01:13 PM: [2/4] Fetching packages...
1:01:20 PM: warning url-loader@1.1.2: Invalid bin field for "url-loader".
1:01:49 PM: error An unexpected error occurred: "https://registry.npmjs.org/gatsby-source-googlemaps-static/-/gatsby-source-googlemaps-static-1.1.6.tgz: Request failed \"404 Not Found\"".
1:01:49 PM: info If you think this is a bug, please open a bug report with the information provided in "/opt/build/repo/yarn-error.log".
1:01:49 PM: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
1:02:00 PM: Error during Yarn install
1:02:00 PM: Build was terminated: Build script returned non-zero exit code: 1
1:02:00 PM: Creating deploy upload records
1:02:00 PM: Failing build: Failed to build site
1:02:00 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
1:02:00 PM: Finished processing build request in 1m6.65247921s
Basically telling me the plugin is 404, which is true. But It’s not the version I did specify in my Yarn.lock. The version I did specify in it was this one :
2:37:59 PM: Build ready to start
2:38:00 PM: build-image version: be42e453d6c8f171cc2f654acc29c0a8b60e6d93
2:38:00 PM: build-image tag: v3.7.1
2:38:00 PM: buildbot version: 0b01511b09101e70a768555816a3df99a1b54ffe
2:38:01 PM: Building without cache
2:38:01 PM: Starting to prepare the repo for build
2:38:03 PM: No cached dependencies found. Cloning fresh repo
2:38:03 PM: git clone git@github.com:Hdz/gatsby-starter-netlify-cms
2:38:06 PM: Preparing Git Reference pull/8/head
2:38:08 PM: Different functions path detected, going to use the one specified in the Netlify configuration file: 'lambda' versus '' in the Netlify UI
2:38:08 PM: Starting build script
2:38:08 PM: Installing dependencies
2:38:08 PM: Python version set to 2.7
2:38:09 PM: Downloading and installing node v12.22.1...
2:38:10 PM: Downloading https://nodejs.org/dist/v12.22.1/node-v12.22.1-linux-x64.tar.xz...
2:38:10 PM: Computing checksum with sha256sum
2:38:10 PM: Checksums matched!
2:38:13 PM: Now using node v12.22.1 (npm v6.14.12)
2:38:13 PM: Started restoring cached build plugins
2:38:13 PM: Finished restoring cached build plugins
2:38:13 PM: Attempting ruby version 2.6.2, read from environment
2:38:14 PM: Using ruby version 2.6.2
2:38:15 PM: Using PHP version 5.6
2:38:15 PM: Started restoring cached yarn cache
2:38:15 PM: Finished restoring cached yarn cache
2:38:15 PM: Installing yarn at version 1.22.4
2:38:15 PM: Installing Yarn!
2:38:15 PM: > Downloading tarball...
2:38:15 PM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.quIhw91L4Z
2:38:15 PM: % Total % Received % Xferd Average Speed Time Time Time Current
2:38:15 PM: Dload Upload Total Spent Left Speed
2:38:15 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2:38:15 PM: 100 79 100 79 0 0 336 0 --:--:-- --:--:-- --:--:-- 337
2:38:15 PM: 100 93 100 93 0 0 166 0 --:--:-- --:--:-- --:--:-- 166
2:38:16 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2:38:16 PM: 100 625 100 625 0 0 767 0 --:--:-- --:--:-- --:--:-- 15625
2:38:16 PM: 100 1215k 100 1215k 0 0 1012k 0 0:00:01 0:00:01 --:--:-- 1012k
2:38:16 PM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.quIhw91L4Z.asc
2:38:16 PM: 100 83 100 83 0 0 2066 0 --:--:-- --:--:-- --:--:-- 2066
2:38:16 PM: 100 97 100 97 0 0 1391 0 --:--:-- --:--:-- --:--:-- 1391
2:38:16 PM: 100 629 100 629 0 0 6167 0 --:--:-- --:--:-- --:--:-- 6167
2:38:16 PM: 100 1028 100 1028 0 0 7056 0 --:--:-- --:--:-- --:--:-- 7056
2:38:16 PM: > Verifying integrity...
2:38:16 PM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2:38:16 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
2:38:16 PM: gpg: WARNING: This key is not certified with a trusted signature!
2:38:16 PM: gpg: There is no indication that the signature belongs to the owner.
2:38:16 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2:38:16 PM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2:38:16 PM: > GPG signature looks good
2:38:16 PM: > Extracting to ~/.yarn...
2:38:16 PM: > Adding to $PATH...
2:38:17 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
2:38:17 PM: Started restoring cached node modules
2:38:17 PM: Finished restoring cached node modules
2:38:17 PM: Installing NPM modules using Yarn version 1.22.4
2:38:18 PM: yarn install v1.22.4
2:38:18 PM: info No lockfile found.
2:38:18 PM: [1/4] Resolving packages...
2:38:19 PM: warning gatsby > @hapi/joi@15.1.1: Switch to 'npm install joi'
2:38:19 PM: warning gatsby > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
2:38:20 PM: warning gatsby > eslint-loader@2.2.1: This loader has been deprecated. Please use eslint-webpack-plugin
2:38:20 PM: warning gatsby > gatsby-cli > @hapi/joi@15.1.1: Switch to 'npm install joi'
2:38:20 PM: warning gatsby > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
2:38:20 PM: warning gatsby > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2:38:20 PM: warning gatsby > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2:38:20 PM: warning gatsby > @hapi/joi > @hapi/address@2.1.4: Moved to 'npm install @sideway/address'
2:38:20 PM: warning gatsby > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2:38:20 PM: warning gatsby > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2:38:20 PM: warning gatsby > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2:38:22 PM: warning gatsby > gatsby-cli > gatsby-recipes > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2:38:22 PM: warning gatsby > gatsby-cli > gatsby-recipes > @hapi/joi@15.1.1: Switch to 'npm install joi'
2:38:24 PM: warning gatsby > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
2:38:25 PM: warning gatsby > webpack > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2:38:25 PM: warning gatsby > webpack > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2:38:26 PM: warning gatsby-image@2.11.0: This package has been deprecated in favor of gatsby-plugin-image. The migration guide can be found here: https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/.
2:38:26 PM: warning gatsby-plugin-netlify-cms > html-webpack-plugin@3.2.0: 3.x is no longer supported
2:38:28 PM: warning gatsby-remark-relative-images > babel-polyfill > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2:38:28 PM: warning gatsby-remark-relative-images > babel-polyfill > babel-runtime > core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2:38:28 PM: error Received malformed response from registry for "gatsby-source-googlemaps-static". The registry may be down.
2:38:28 PM: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2:38:28 PM: Error during Yarn install
2:38:28 PM: Build was terminated: Build script returned non-zero exit code: 1
2:38:28 PM: Creating deploy upload records
2:38:29 PM: Failing build: Failed to build site
2:38:29 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
2:38:29 PM: Finished processing build request in 28.121581665s
and there’s nowhere else except the yarn.lock I’ve just deleted it so he should go for the one I have in these both no ?
I would like to understand why he doesn’t take it.