Ian VanSchooten
Ian VanSchooten
There were a lot of changes between the late betas and the final release, which went very quickly. I'm really surprised how many breaking changes were made late in the...
This seems to be a bug in NPM: https://github.com/npm/cli/issues/4367, but maybe we can do some peer dependency cleanup to try to avoid it.
A workaround that has solved the issue for at least one person is to install `sb` locally, (`npm install --save-dev sb`) and then `npx sb` to run it from the...
@noahehall would you mind trying out the latest beta version of the cli, `pnpx sb@next init`? I'm wondering if the change to remove jest from peer dependencies helped at all.
This seems to be happening due to the `peerDependencies` specified here on core-common: https://github.com/storybookjs/storybook/blob/f7c9ce5b699f4800fbb3e918b558835c4a4224b4/lib/core-common/package.json#L102-L105 as well as typescript specified as a peer on a sub-dependency: https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/main/package.json#L71
>i was in the hospital these last few days. Oh no! Sorry to hear that, hope everything is alright now. 💜 It's strange that installing locally did not work... and...
@Mr-LJQ that's just an issue with the `init` script, it will use npm or yarn, but not pnpm. Storybook itself should work alright with pnpm. I'd suggest you could temporarily...
FWIW, it looks like the `esrun` part is no longer required.
I see that `lib/router` isn't in the list. Should it be, or is there a reason not to convert it?
Should `@storybook/cli-storybook` and `@storybook/cli-sb` even _have_ a `prep` script? They don't seem to have been generating any `dist` folders previously, and I can't think what the `entries` would be.