An open API service indexing awesome lists of open source software.

https://github.com/jonaskuske/esm-yarn2-global-repro

🐞 Repro for https://github.com/standard-things/esm/issues/871
https://github.com/jonaskuske/esm-yarn2-global-repro

Last synced: 11 months ago
JSON representation

🐞 Repro for https://github.com/standard-things/esm/issues/871

Awesome Lists containing this project

README

          




`MODULE_NOT_FOUND` when using Yarn 2 + global cache


## Steps to reproduce

1. Clone or download this repository
2. Run `yarn` to install dependencies
3. Run `yarn start`


You'll see the `MODULE_NOT_FOUND` error in the Terminal.
Note that everything works once you change `enableGlobalCache` to `false` in `.yarnrc.yml` and reinstall dependencies.


> If you don't have `yarn` installed on your system, you can run `npm run yarn:install` and `npm run yarn:start` instead. Those commands will directly call yarn, which is checked into the repository anyway.