Missing ts-pnp dependency
See original GitHub issueInstalling @storybook/react@5.1.9, I’m now presented with the following warning from npm:
npm WARN ts-pnp@1.1.2 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
That leads me to:
> npm ls ts-pnp
project@4.8.2 C:\Users\nope\git\project
`-- @storybook/react@5.1.9
`-- @storybook/core@5.1.9
`-- pnp-webpack-plugin@1.4.3
`-- ts-pnp@1.1.2
Which was introduced in commit https://github.com/storybookjs/storybook/commit/c28af59e7db496ed01cec55dab70c98916d5d858 by @crubier. Why am I being asked to install typescript things in my not-typescript repo?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Dependencies missing prevents pnpm working #149 - GitHub
When blitz is install as a dev dependency in a project using pnpm , there are many dependencies missing. This is probably because...
Read more >NPM throwing missing dependency but it exists?
The issue seems to be that the request package has been deprecated and fs is a dependency of request so webpack is no...
Read more >Automated Malware Analysis Report for ExamShieldLauncher.exe ...
Report size exceeded maximum capacity and may have missing disassembly code. Report size getting too big, too many NtOpenKeyEx calls found.
Read more >The sea urchin animal pole domain is a Six3-dependent neurogenic ...
Six3-dependent regulatory proteins are orthologous to those expressed in the vertebrate ... Nodal morphants were lost in the double morphants (Fig. 7G,H).
Read more >Extrinsic Calibration for LiDAR–Camera Systems Using Direct ...
A two-stage framework (TSPnP) from coarse to fine is presented to solve the ... dependent on the calibration target or calibration object, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm this seems to be a limitation of
pnp-webpack-plugin
, which is kind of “hardcoded” to use typescript: https://github.com/arcanis/pnp-webpack-plugin#ts-loader-integrationI didn’t see this problem as I tested it in a project that already uses typescript…
To be fair I think that commit https://github.com/storybookjs/storybook/commit/c28af59e7db496ed01cec55dab70c98916d5d858 can be reverted as the solution we found afterwards was to use storybook presets.
Hey there, it’s me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!