-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Webpack error when serving development build #179
Comments
You can downgrade to |
Thanks a lot for providing this additional insight! It turns out that the issue was Windows-specific - the
However, I didn't realize that Webpack's I fixed this in #180 and will release a new version with this fix shortly. |
Truly awesome, man! |
Please describe the bug you are seeing
When running the dev server, I get the above error. I was able to trace this down to
@cmfcmf\docusaurus-search-local\lib\client\theme\SearchBar\index.js
, where on several occasionsmylunr
is accessed.It is imported on the following line:
./d-s-l-a-generated
just containsexport {};
however, which explains the failing imports. The weird thing is that this is only happening with the node windows executable (v18.15.0), when I use node inside my WSL (v16.17.1), there doesn't seem to be an issue.How can we best reproduce the bug?
No response
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
"@docusaurus/core": "2.4.0"
"@cmfcmf/docusaurus-search-local": "1.0.0"
Which Node.js version are you using?
v18.15.0
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
Additional context
No response
The text was updated successfully, but these errors were encountered: