You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the console error message carefully (if applicable).
Description
Hi,
I am trying out the tutorial but I get an error indicating I am missing some 'wait-for' plugin. I could not find any relevant google search results or any existing issues on docusaurus issue tracker.
(base) ➜ my-website npx docusaurus --port 4000 start
node:internal/modules/cjs/loader:933
const err = new Error(message);
^
Error: Cannot find module 'wait-file'
Require stack:
- /Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/webpack/plugins/WaitPlugin.js
- /Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/webpack/server.js
- /Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/commands/build.js
- /Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/webpack/plugins/WaitPlugin.js:10:20)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/webpack/plugins/WaitPlugin.js',
'/Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/webpack/server.js',
'/Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/commands/build.js',
'/Users/sindhus/code/bytebeam/test-docusaurus/my-website/node_modules/@docusaurus/core/lib/index.js'
]
}```
### Your environment
- node version: /Users/sindhus/.nvm/versions/node/v16.14.2/bin/node
- os: mac os ventura beta
### Self-service
- [ ] I'd be willing to fix this bug myself.
The text was updated successfully, but these errors were encountered:
sindhubb
added
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
labels
Aug 1, 2022
Josh-Cena
added
closed: duplicate
This issue or pull request already exists in another issue or pull request
and removed
bug
An error in the Docusaurus core causing instability or issues with its execution
status: needs triage
This issue has not been triaged by maintainers
labels
Aug 1, 2022
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
Hi,
I am trying out the tutorial but I get an error indicating I am missing some 'wait-for' plugin. I could not find any relevant google search results or any existing issues on docusaurus issue tracker.
Reproducible demo
No response
Steps to reproduce
npx create-docusaurus@latest my-website classic
Expected behavior
I expected Docusaurus server to start.
Actual behavior
I get this error in the terminal:
The text was updated successfully, but these errors were encountered: