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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why are there a lot of environment errors and cannot install application global dependencies? #5743

Closed
PachVerb opened this issue Oct 19, 2021 · 4 comments
Labels
closed: question This issue is a user error/misunderstanding.

Comments

@PachVerb
Copy link

馃悰 Bug Report

image

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

(A clear and concise description of what the bug is.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

Steps to reproduce

Use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

(Write your steps here:)

  1. Step 1...
    install template classic
  2. Step 2...
    install global dependence
  3. Step 3...
    but, set two stop work

Expected behavior

npx or yarn run serve, work well

(Write what you thought would happen.)

Actual behavior

image

(Write what happened. Add full console log messages and screenshots, if applicable.)

Your environment

Reproducible demo

Use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

(Paste the link to an example repo, including a docusaurus.config.js, and exact instructions to reproduce the issue.)

@PachVerb PachVerb 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 Oct 19, 2021
@Josh-Cena
Copy link
Collaborator

A lot of the warnings should be cleared with #5420. Your connection doesn't seem good, maybe try using cnpm as the registry, or configure your proxy settings properly?

@slorber
Copy link
Collaborator

slorber commented Oct 19, 2021

The warnings are not blocking you and we'll fix them (at least some of them, hard always have an empty list of warning).

The error does not seem to be a Docusarus issue

@slorber slorber closed this as completed Oct 19, 2021
@PachVerb
Copy link
Author

The warnings are not blocking you and we'll fix them (at least some of them, hard always have an empty list of warning).

The error does not seem to be a Docusarus issue

Yes, I also have some problems with the network, but I have switched the proxy. But this is a dependency warning, which really confuses me, thanks

@PachVerb
Copy link
Author

A lot of the warnings should be cleared with #5420. Your connection doesn't seem good, maybe try using cnpm as the registry, or configure your proxy settings properly?

Yes, before this, I have switched the proxy. I will try again, thanks.

@Josh-Cena Josh-Cena added closed: question This issue is a user error/misunderstanding. 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 Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: question This issue is a user error/misunderstanding.
Projects
None yet
Development

No branches or pull requests

3 participants