-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Failing to build with 2.0: Error: Cannot find module 'wait-file' #7868
Comments
What...? We migrated away from |
Never mind, this file is corrupted somehow: https://unpkg.com/browse/@docusaurus/[email protected]/lib/webpack/plugins/WaitPlugin.js |
https://github.com/johnnyreilly/blog.johnnyreilly.com/actions/runs/2772875207 Adding it directly to the project fixes the build by the looks of it: |
You shouldn't need to... that file is suddenly reverted to the 2-year-ago version |
Super weird |
fixed in 2.0.1 |
I think you can still republish - if I recall there's like a 48 window where you can do that with npm modules |
Yes, that's what I remember too. |
Also getting this error after upgrading to 2.0.0, just ran As a side note, GitHub still lists 2.0.0-rc1 as the latest release and the changelog for 2.0.0 is also missing: https://docusaurus.io/changelog |
2.0.1 was released more than 24 hours ago. See https://www.npmjs.com/package/@docusaurus/core?activeTab=versions @slorber Could you update the GitHub release? |
Thanks for the swift reply @Josh-Cena, didn't check NPM and didn't realize 2.0.1 is out because the docs & everything else only mention 2.0.0. Should have checked NPM I guess :) I actually followed the update guide and since that also mentioned putting 2.0.0 into package.json that is just what I did: https://docusaurus.io/docs/installation#updating-your-docusaurus-version |
Yes, we should rename the current version on the website to |
will update the version name in #7922 |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
When I try to build with Docusaurus 2.0 I experience an error which you can see here
Reproducible demo
No response
Steps to reproduce
Try to build this branch: johnnyreilly/blog.johnnyreilly.com#276
Expected behavior
Build should succeed
Actual behavior
Build should fail - see above and johnnyreilly/blog.johnnyreilly.com#276
Your environment
Self-service
The text was updated successfully, but these errors were encountered: