-
Notifications
You must be signed in to change notification settings - Fork 275
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
HookWebpackError: ENOENT: no such file or directory, scandir #553
Comments
Hm, debugging webpack on windows is among my least favorite things. #76 has been open for a long time, but we just haven't gotten much interest from folk in fixing it. The
So your log starts at the build of app: presumably it did install and build everything before then? What happens if you run it again? A couple times? Just trying to determine if there's something wrong with the setup.
This looks like it might be generating paths that are "too long" for windows when it is trying to There are a bunch of registry hacks to work around the issue, enable symlinks, and all other kinds of useful things, but in 2022, I still recommend moving the repo to something short like It's also important to ensure that things like OneNote, DropBox, etc. are not involved, as these can play havoc with the filesystem. |
Thank you bollwyvl The doit log is fine up until building app. I reinstalled and moved everything to C:\ so to get shorter filenames, and there is no DropBox etc involved. But I still get the same error, even after running multiple times
|
It looks like this might in fact be a problem upstream: xz64/license-webpack-plugin#111 In the short term: we could skip adding that plugin on windows, knowing that it would not create the Longer term: a PR for a CI job, running parallel to the "for real" |
We now have it working under CI on windows, skipping the license plugin: please pull again and give this a shot, and open a new issue for whatever else you might encounter: this is preferable to changing the issue name, which has strong SEO energy. |
Thank you, that worked! I now get some errors at the env:lite stage, with a blocking error at env:lite:extensions, but that stage is after the build ones, so I can now spawn a working jupyterlite server. I'll open a separate non-urgent ticket for those errors. |
Description
I did a fresh download and install, and I get the error in the title.
Reproduce
I literally followed the contributing guide. After downloading mambaforge:
and I get the error
Expected behavior
No build error
Context
Browser Output
The text was updated successfully, but these errors were encountered: