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
- Host: GitHub
- URL: https://github.com/jonaskuske/esm-yarn2-global-repro
- Owner: jonaskuske
- Created: 2020-04-01T23:34:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T23:36:27.000Z (about 6 years ago)
- Last Synced: 2025-03-29T23:17:52.617Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 889 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.