-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
[v2] yarn build hangs forever after build is completed successfully #2431
Comments
I got the same hung issue, even though on the same system running the basic template ( Perhaps something with your config? I do not get the following errors installing the template: that I got installing your site: git clone https://github.com/avkonst/hookstate
cd hookstate/hookstate.js.org/docs2
yarn build
yarn install v1.22.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it
from installation.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it
from installation.
[3/4] Linking dependencies...
warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @docusaurus/[email protected]" has incorrect peer dependency "@docusa
urus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has inc
orrect peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has inc
orrect peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has in
correct peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has
incorrect peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has inco
rrect peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has incorrec
t peer dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has incorrec
t peer de peer dependency "@docusaurus/core@^2.0.0".
pendency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/[email protected]" has incorrec
t peer depwarning "@docusaurus/preset-classic > @docusaurus/[email protected]" has in
wwarning "@docusaurus/preset-classic > @docusaurus/[email protected]" has incorrect peer dependency "@docusaset-classic > @docusaurus/[email protected]" has unmet peer dependency "webp ack@^4.41.2". aur dependency "@docusaurus/core@^2.0.0".
warning "@docusaurus/preset-classic > @docusaurus/theme-classic > [email protected]" has unmet peer dependency "prop-types@^15.3.0
|| ^16.0.0".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 30.49s. |
Resolved in #2443. |
I think this bug is back in 3.6.0, the build is successful but the process never exits. Not sure if it's worth opening another issue given that this is the exact issue I'm experiencing right now. |
@jmlopez-rod yes it's mentioned in the release notes:
Adding this code was a bad idea that hides problems on your own site. You should figure out the problem on your site and the build will terminate. At best, I'd be ok to add a CLI option Please join the conversation at #10410, I can help troubleshoot it if you provide a repro. |
🐛 Bug Report
Docs for my project can not be built non-interactively as 'yarn-build' hangs forever.
Have you read the [Contributing Guidelines on issues]
yes
To Reproduce
Expected behavior
Build is finished and process exists
Actual Behavior
Build is successful (according to logs), but the process does not exit.
Your Environment
Reproducible Demo
See above how to reproduce
The text was updated successfully, but these errors were encountered: