This reproduces an issue where an app with an npm scope is not restored from cache when output to node_modules
.
- npm install
- Run
npx nx build my-app
- Check
node_modules/my-app
- Delete
node_modules/my-app
folder - Run
npx nx build my-app
- Note that
node_modules/my-app
is restored - Run
npx nx build my-scoped-app
- Check
node_modules/@my-scoped-app
- Delete
node_modules/@my-scoped-app
folder - Run
npx nx build my-scoped-app
- Note that
node_modules/@my-scoped-app
is not restored even though the cache output says it was.