-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Error: Cannot find module './_baseKeys' #353
Comments
After tests, it works fine in 0.10.7, the error occured with the 0.11.0+ version |
A minimal repro using lodash would be needed to look for the cause. |
@Akryum But with vite, I have no problem. Only with histoire in the 0.11.x versions :/ I'll try to create a mini repo with this problem asap |
I faced the same issue |
I managed to reproduce this error with minimal setup https:/andrey-hohlov/histoire-lodash-bug
It happens only with this combination.
If I remove index file With |
Describe the bug
After upgrade from 0.10.x to 0.11.6, I have weird problem on compilation phase of my project with histoire. I have this error for each my stories :
The only one file, in my code, shown in the stacktrace is my
config.js
file. It's just an js object return my application configuration (api link, ...) and it only loadlodash/isEmpty
like that :The weird part is the pah used to load
lodash/isEmpty
: it seems not to search it innode_modules
of the project but directly in the root of the project.I have change anything between the 0.10.x and the 0.11.6 in my code and I don't have this problem with vite when I launch my project. Only with histoire with no reason.
Reproduction
I don't know if it's easilly reproductible, this is a large project :/
System Info
The text was updated successfully, but these errors were encountered: