Skip to content
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

Unable to start docusaurus #7869

Closed
6 tasks done
sindhubb opened this issue Aug 1, 2022 · 3 comments
Closed
6 tasks done

Unable to start docusaurus #7869

sindhubb opened this issue Aug 1, 2022 · 3 comments
Labels
closed: duplicate This issue or pull request already exists in another issue or pull request

Comments

@sindhubb
Copy link

sindhubb commented Aug 1, 2022

Have you read the Contributing Guidelines on issues?

Prerequisites

  • I'm using the latest version of Docusaurus.
  • I have tried the npm run clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
  • I have tried creating a repro with https://new.docusaurus.io.
  • 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.

Reproducible demo

No response

Steps to reproduce

  1. Go to https://docusaurus.io/docs/installation
  2. Execute npx create-docusaurus@latest my-website classic
  3. Results in the above error.

Expected behavior

I expected Docusaurus server to start.

Actual behavior

I get this error in the terminal:

(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.
@sindhubb 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
Copy link
Collaborator

Duplicate of #7868

@Josh-Cena Josh-Cena marked this as a duplicate of #7868 Aug 1, 2022
@Josh-Cena
Copy link
Collaborator

We are working on it right now

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2022
@Josh-Cena 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
@sindhus-in
Copy link

We are working on it right now

Thank you, appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: duplicate This issue or pull request already exists in another issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants