-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Compile error - create-react-app with latest storybook #3444
Comments
I just got a similar set of error messages trying to run storybook on a new react app! *note: I used yarn to install and run rather than npm. |
Is this a valid file?
might be a windows problem and how the directories use |
I'm using yarn too |
How does your |
Thank you for responding
|
I've got the same problem, any news? |
I run my project on another pc, so my guess is that my global dependencies are old or broken. My shot is on babel or webpack version, but i haven't tested that. |
+1 |
same issue here on a Vue project |
Same here on a blank storybook install. |
Same here, 1+ |
Can anyone please share exact reproduction steps for that, or maybe even a reproduction repo on GitHub? |
My steps :
|
I could did a fresh CRA install with no modifications and found the error.
|
What does |
3.4.2 for me, as we said both it was a fresh install, mine was this week. |
Still reproducing with 3.4.3? #3453 could change things a bit |
This looks pretty outdated. Can you please upgrade yarn and repeat all the steps? |
|
@Hypnosphi still some errors, though they are not the same as before
|
This is fixed in #3409, but the fix did not get into stable release yet. Please try applying the corresponding change to your story |
I'll try this thanks @Hypnosphi |
Same issue with my Vue project. |
Hi guys. I dug a little inside my Yarn directory, and here is answer for me, at least, hope someone else will find it too in here:
Hope i helped. |
Thanks @Kizbo, I change the node version with 8.0+ and re-install webpack, yarn, storybook-cli, and re-create the app again. |
I got this error as well. After I update webpack from v3 to v4 (the recent version is v4.20.2), it works. |
Share my experience My project use webpack 2 and storybook 5 I got After comparing another project(work well) I solved this problem by installing [email protected] |
upgrade yarn and updae package |
For anyone here with the same issue, upgrading to webpack to |
Doing 2 things helped me:
Thanks guys 👍 |
Running react 16.3.2 with latest create-react-app
The text was updated successfully, but these errors were encountered: