TypeScript regression in 6.0.0-rc.22
See original GitHub issueDescribe the bug rc.22 gives “impossible to import loader for .ts” error.
To Reproduce Steps to reproduce the behavior:
- Clone my minimum working example at https://github.com/nareshbhatia/react-component-mwe. This has dependencies set to rc.21.
- Run the example (
yarn
thenyarn storybook
). Storybook should start and show one component. - Change the dependency to rc.22 and run again.
- You will see the following error:
$ start-storybook -p 6006
info @storybook/react v6.0.0-rc.22
info
WARN => File /Users/naresh/projects/react-component-mwe/.storybook/main.ts is detected
WARN but impossible to import loader for .ts
info => Loading presets
WARN => File /Users/naresh/projects/react-component-mwe/.storybook/main.ts is detected
WARN but impossible to import loader for .ts
info => Loading presets
info => Loading config/preview file in "./.storybook".
info => Using default Webpack setup.
webpack built a35bf5650e72217f6be8 in 4648ms
Expected behavior TypeScript project should run without any errors.
System:
Environment Info:
System:
OS: macOS 10.15.6
CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Binaries:
Node: 12.18.2 - ~/.nvm/versions/node/v12.18.2/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.6 - ~/.nvm/versions/node/v12.18.2/bin/npm
Browsers:
Chrome: 84.0.4147.105
Safari: 13.1.2
npmPackages:
@storybook/addon-essentials: 6.0.0-rc.21 => 6.0.0-rc.21
@storybook/addons: 6.0.0-rc.21 => 6.0.0-rc.21
@storybook/react: 6.0.0-rc.21 => 6.0.0-rc.21
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
@types/regression - npm
TypeScript definitions for regression. ... Start using @types/regression in your project by running `npm i @types/regression`.
Read more >javascript - Fix vulnerabilities in NPM manually - Stack Overflow
You can get a report of all vulnerabilities using npm audit . In that report for each vulnerability you will also see a...
Read more >Homepage - AWS Lambda Powertools for TypeScript
Lambda Layer: arn:aws:lambda:{region}:094274105915:layer:AWSLambdaPowertoolsTypeScript:6; npm: npm install @aws-lambda-powertools/tracer ...
Read more >Type Regression Testing to Detect Breaking ... - DROPS
regression testing uses a dynamic analysis to learn models of the library ... function, for example strong-params at version 0.7.0.6 Then, a public...
Read more >Type Regression Testing to Detect Breaking Changes in Node ...
regression testing uses a dynamic analysis to learn models of the library ... implementation consists of 1 800 lines of TypeScript code and...
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
Yay!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.1 containing PR #11885 that references this issue. Upgrade today to try it out!
Closing this issue. Please re-open if you think there’s still more to do.
@ajkl2533 that’s why i said it’s a workaround