-
Notifications
You must be signed in to change notification settings - Fork 395
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
TS errors #53
Comments
I have the same issue. |
Same issue w/ Node v9.5.0 |
I change type/webpack to '^3.0.0' and it works. |
solves this issue. |
This appears to be a result of From
Which would resolve to semver 1.0.0 according to the list of releases, but as noted above, the "compatible" working version is 0.2.5. When specifying 0.2.5 manually, it works, and the version specification must have been fixed in a more recent version of |
Tapable typings added because of webpack/tapable#53. Solution based on webpack/webpack#6746 (comment)
following up on @Jesion |
You can use |
try to add ref: https://mutter.monotalk.xyz/posts/c5611095ba5bd8d824b3a76359650141 |
If anyone has wasted an hour on this like me, do the following. This is the only thing that worked for me: add this to your build process to disable typescript check for that file:
|
The reason this issue happens is that webpack4 is somewhat an old library already and it depends on older version of The reason solution above works is because when we install very very very old version of I think a much better solution would be to install the current version of
The effect is going to be absolutely the same except now you get an up-to-date version of the I got this issue when I was installing storybook because storybook still uses webpack4 for some reason. Hopefully in the future they move to webpack5 and this issue disappears altogether. Thank you, good night |
I'm getting these errors upon building my project:
The text was updated successfully, but these errors were encountered: