-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Invalid path resolution #102
Comments
Yup that's this very one 🙂 |
Not yet, will release in 2.2.0 within a day |
v2.2.0 is out :) |
It's still happening in 2.2.0. Please, reopen |
@AndrewBogdanovTSS Could you provide a reproduction project? I already tested Armaldio's project in 2.2.0 and it works as expected |
Tested on my side with |
I can't replicate this issue on the clean nuxt instance. But locally I get this error:
It might not be related to this specific problem with path though...so maybe a new issue should be created |
Indeed it doesn't look like the same issue, it'll be awesome if you can open another issue providing these logs & your Nuxt config 🙂 |
@lihbr yeah, will try to replicate this it in the codesandbox later today. Just found out that its OS independent |
@AndrewBogdanovTSS any news on this? |
Any updates on this? Also happening to me |
Have you tried to delete your |
I think I found the issue. On a clean nuxt project I installed the storybook module, and after a few tests, found out that having the build option |
Nice catch 🤔 @farnabaz might be interested in investigating it more or perhaps already have an idea about it |
There is an unresolved issue in Storybook about using |
Sorry for the late reply. Once I've upgraded to v.3.0.0 the error is gone even when using |
I assume on Windows path are not resolved correctly
(backslashes are not escaped which cause the path to not be resolved correctly)
I also manually set srcDir inside the config file
Version
@nuxtjs/storybook: 2.1.0
nuxt: 2.14.3
Reproduction Link
https://codesandbox.io/s/cranky-cookies-y5if8?file=/src/components/test.stories.js
Note: This sandbox just show my architecture as the error seems related to the OS & path escaping and I assume sandbox runs on linux
Steps to reproduce
Run
yarn nuxt storybook
What is Expected?
The app should compile
What is actually happening?
The text was updated successfully, but these errors were encountered: