Open ld210 opened 2 years ago
The Angular team has just release the v14.0.5, that include this fix : https://github.com/angular/angular-cli/pull/23487 Storybook is still not working in PnP mode, getting the same error.
Still getting the same error with Storybook v6.5.10 or 7.0.0-alpha.18
@ld210 Unplugging @angular/compiler-cli
solved the error EROFS: read-only filesystem, open '/node_modules/.ngcc_lock_file'
. See https://github.com/Sage-Bionetworks/challenge-registry/issues/755#issuecomment-1267094617 for more detailed information.
Describe the bug When using Yarn PnP,
start-storybook
orbuild-storybook
won't work. Here's the error:To Reproduce Here is a reproduction repo : https://github.com/ld210/yarnpnp-storybook-angular-repro Do a
yarn install
, and then tryyarn run storybook
oryarn ng run pnptest:storybook
System Environment Info:
System: OS: macOS 12.4 CPU: (8) arm64 Apple M1 Binaries: Node: 16.13.1 - /private/var/folders/pp/hlwx4ttn1gn30q105lb_b800tt2glm/T/xfs-6c9ce97e/node Yarn: 3.2.1 - /private/var/folders/pp/hlwx4ttn1gn30q105lb_b800tt2glm/T/xfs-6c9ce97e/yarn npm: 8.1.2 - /usr/local/bin/npm Browsers: Chrome: 103.0.5060.53 Firefox: 101.0 Safari: 15.5
Couple things worth noting
yarn install
command to delete node_modules folder