Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Missing dependencies when using yarn pnp #208

Closed
bryanjtc opened this issue Oct 15, 2022 · 0 comments · Fixed by #209
Closed

[Bug] Missing dependencies when using yarn pnp #208

bryanjtc opened this issue Oct 15, 2022 · 0 comments · Fixed by #209
Labels
bug Something isn't working

Comments

@bryanjtc
Copy link
Member

Describe the bug

@babel/types and @babel/template are not declared in the dependencies of @storybook/test-runner.
The test runner fails with yarn pnp

Steps to reproduce the behavior

  1. Create a storybook project with the vite-builder and yarn pnp v3.
  2. Add the test runner
  3. Run the test runner

Expected behavior

No error

Screenshots and/or logs

image

image

If applicable, add screenshots and/or logs to help explain your problem.

Environment

  • OS: Windows 11
  • Node.js version: 16.14.2
  • NPM version: 8.5.0
  • Yarn version: 3.2.3
  • Browser (if applicable): [e.g. chrome, safari]
  • Browser version (if applicable): [e.g. 22]
  • Device (if applicable): [e.g. iPhone6]

Additional context

Add any other context about the problem here.

@bryanjtc bryanjtc added the bug Something isn't working label Oct 15, 2022
This was referenced Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant