Hi,
On my site https://bakino.netlify.app I get a build error with yarn telling me “Integrity check failed for gsap”, as shown below. I’ve tried clearing the cache on Netlify, deleting my site on Netlify and creating a new one, deleting node_modules/yarn.lock files locally and commit new files to github, but I still get the same error.
Everything works fine locally on my computer when running the site, and building it.
What more can I try?
9:41:25 PM: Build ready to start
9:41:28 PM: build-image version: 3031d4c9e432fd7016f6279fc9ad706f9205d845
9:41:28 PM: build-image tag: v3.3.17
9:41:28 PM: buildbot version: 1f35b3abd6e2bf5230d8edf68072840fdec1513f
9:41:28 PM: Fetching cached dependencies
9:41:29 PM: Failed to fetch cache, continuing with build
9:41:29 PM: Starting to prepare the repo for build
9:41:29 PM: No cached dependencies found. Cloning fresh repo
9:41:29 PM: git clone https://github.com/danielhult/prismic-bakino
9:41:30 PM: Preparing Git Reference refs/heads/master
9:41:31 PM: Starting build script
9:41:31 PM: Installing dependencies
9:41:31 PM: Python version set to 2.7
9:41:32 PM: v12.18.0 is already installed.
9:41:33 PM: Now using node v12.18.0 (npm v6.14.4)
9:41:33 PM: Started restoring cached build plugins
9:41:33 PM: Finished restoring cached build plugins
9:41:33 PM: Attempting ruby version 2.7.1, read from environment
9:41:34 PM: Using ruby version 2.7.1
9:41:35 PM: Using PHP version 5.6
9:41:35 PM: 5.2 is already installed.
9:41:35 PM: Using Swift version 5.2
9:41:35 PM: Started restoring cached node modules
9:41:35 PM: Finished restoring cached node modules
9:41:35 PM: Started restoring cached yarn cache
9:41:35 PM: Finished restoring cached yarn cache
9:41:35 PM: Installing yarn at version 1.22.4
9:41:35 PM: Installing Yarn!
9:41:35 PM: > Downloading tarball...
9:41:35 PM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.V7EmEvaFfp
9:41:35 PM: % Total % Received % Xferd Average Speed Time Time Time Current
9:41:35 PM: Dload Upload Total Spent Left Speed
9:41:35 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
9:41:35 PM: 100 80 100 80 0 0 257 0 --:--:-- --:--:-- --:--:-- 258
9:41:36 PM: 100 93 100 93 0 0 149 0 --:--:-- --:--:-- --:--:-- 149
9:41:36 PM: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
9:41:36 PM: 100 630 100 630 0 0 714 0 --:--:-- --:--:-- --:--:-- 3841
9:41:36 PM: 100 1215k 100 1215k 0 0 913k 0 0:00:01 0:00:01 --:--:-- 913k
9:41:36 PM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.V7EmEvaFfp.asc
9:41:37 PM: 100 84 100 84 0 0 3082 0 --:--:-- --:--:-- --:--:-- 3082
9:41:37 PM: 100 97 100 97 0 0 1633 0 --:--:-- --:--:-- --:--:-- 1633
9:41:37 PM: 100 634 100 634 0 0 6727 0 --:--:-- --:--:-- --:--:-- 6727
9:41:37 PM: 100 1028 100 1028 0 0 7648 0 --:--:-- --:--:-- --:--:-- 7648
9:41:37 PM: > Verifying integrity...
9:41:37 PM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
9:41:37 PM: gpg: Good signature from "Yarn Packaging <yarn@dan.cx>"
9:41:37 PM: gpg: WARNING: This key is not certified with a trusted signature!
9:41:37 PM: gpg: There is no indication that the signature belongs to the owner.
9:41:37 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
9:41:37 PM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
9:41:37 PM: > GPG signature looks good
9:41:37 PM: > Extracting to ~/.yarn...
9:41:37 PM: > Adding to $PATH...
9:41:37 PM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
9:41:38 PM: Installing NPM modules using Yarn version 1.22.4
9:41:38 PM: yarn install v1.22.4
9:41:38 PM: [1/4] Resolving packages...
9:41:39 PM: [2/4] Fetching packages...
9:41:44 PM: error Integrity check failed for "gsap" (computed integrity doesn't match our records, got "sha512-VdWxlEPG4JM4OdjYv6Nm0cqCM1uaGHqU4tu5FoiVHUup66NLZiOYb1XVptNejhceWeyLyfnJ9yZhG9iQj6XGCQ== sha1-C01Qr7vcbeF7s6q2+kzXo2lgAD4=")info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
9:41:56 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
9:41:56 PM: Error during Yarn install
9:41:56 PM: Error running command: Build script returned non-zero exit code: 1
9:41:56 PM: Failing build: Failed to build site
9:41:57 PM: Finished processing build request in 29.09248685s