Skip to content

Commit

Permalink
fix(semantic-release): update yarn.lock (#134)
Browse files Browse the repository at this point in the history
Locally, this fixes our semantic-release bug:
  metaplex-foundation/js#132

Previously, yarn was installing chalk@5 instead of chalk@4, a dependency of the
npm package which is a dependency of semantic-release.

To reproduce the error before this commit:

Run `yarn install`. After dependencies finish installing, create a `node` shell
and run `require('npm')`. You'll see the following error:

> Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

To fix, I updated the yarn lockfile by removing the contents of our .yarnrc.yml file
and installing using an older version of yarn.

To test, I switched back .yarnrc.yml and reran the steps to reproduce which
no longer triggered the error.
  • Loading branch information
aheckmann authored Jan 6, 2022
1 parent 7239ef7 commit 576a026
Showing 1 changed file with 645 additions and 1,157 deletions.
Loading

0 comments on commit 576a026

Please sign in to comment.