jonaskuske / esm-yarn2-global-repro

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



`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.


About

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


Languages

Language:JavaScript 100.0%