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

Docker build is crash in setp yarn install #4131

Closed
yishuiliunian opened this issue Jan 30, 2021 · 1 comment
Closed

Docker build is crash in setp yarn install #4131

yishuiliunian opened this issue Jan 30, 2021 · 1 comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution external This issue is caused by an external dependency and not Docusaurus.

Comments

@yishuiliunian
Copy link

🐛 Bug Report

Docker build is crash in setp yarn install

log is :

error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/app/website/node_modules/gifsicle/\u0001\f3@@@�'".

Have you read the Contributing Guidelines on issues?

yes

To Reproduce

If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.

(Write your steps here:)

  1. use an docker in resperry
  2. run docker build .

Expected behavior

docker build success

Actual Behavior

Docker build is crash in setp yarn install

log is :

error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/app/website/node_modules/gifsicle/\u0001\f3@@@�'".

Your Environment

@yishuiliunian yishuiliunian 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 Jan 30, 2021
@slorber
Copy link
Collaborator

slorber commented Feb 1, 2021

Hi,

It seems you are using v1 right?

We encourage users to migrate to v2.

This is a problem related to Gifsicle, which apparently is used in v1 to resize gifs. And it seems to fail to install, which is somehow outside the scope of Docusaurus but should rather be reported on Gifsicle repos. What I would try is to use another Docker image, or re-generate my yarn.lock file

@slorber slorber closed this as completed Feb 1, 2021
@Josh-Cena Josh-Cena added external This issue is caused by an external dependency and not Docusaurus. and removed status: needs triage This issue has not been triaged by maintainers labels Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution external This issue is caused by an external dependency and not Docusaurus.
Projects
None yet
Development

No branches or pull requests

3 participants