-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Doesn't work on Windows if launched from a shell with lowercase drive letter #843
Labels
Comments
Any traction on this? I'm seeing it, kinda gross. |
You can use this https://www.npmjs.com/package/driveup as a hotfix for this issue. It changes the drive letter the UpperCase:
or to launch your shell:
|
Doesn't seem to be an issue with Storybook, but good to know the work-arounds! |
This was referenced Sep 4, 2021
This was referenced May 13, 2022
This was referenced May 14, 2022
This was referenced Nov 26, 2023
This was referenced Nov 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue by thedgbrt
Sunday Nov 13, 2016 at 19:15 GMT
Originally opened as storybook-eol/react-native-storybook#113
Hey guys,
congrats for the work on storybook, it's blowing my mind and transforming the way I make apps for the better 😄 !
If I run
npm run storybook
from a shell starting with a lowercase drive letter :c:\Users\dagobert\dev\awesomeApp>
, it warns me of conflicts between modules and then crashes with an error 500.It took me two hours to realize that when I'm launching the command from this location
C:\Users\dagobert\dev\awesomeApp>
instead, it works as intended.The conflict comes from the uppercase / lowercase drive letter on windows, as both work for navigating in the terminal.
I did some digging and found these issues in other npm modules
webpack/webpack#2694
And this one that might be the solution (26 Sept by Allov)
webpack/webpack#2815 (comment)
It seems like it can be fixed by forcing the script to cd to the same directory(but starting with an uppercase letter) before running any other command.
If you let me know where the script happens I can try to fix it.
The text was updated successfully, but these errors were encountered: