Git Product home page Git Product logo

Comments (4)

dosubot avatar dosubot commented on September 13, 2024 3

I found a similar closed issue, docker build failed, which was last updated on December 21, 2022. The suggested solution was to ensure that the zstd package is installed in the Dockerfile. Here’s how you can resolve the "zstd not found" error:

  1. Ensure zstd is installed in the Dockerfile:
    The Dockerfile should include the installation of zstd:

    # Somehow we need python3 + build-essential on this side of the house to install node-gyp
    RUN apt-get update -qq \
        && apt-get install \
            -yqq --no-install-recommends \
            build-essential \
            python3 \
            zstd
  2. Rebuild the Docker image without using the cache:
    If you are still encountering the error, it might be due to a caching issue or an incomplete build. Try rebuilding the Docker image without using the cache:

    docker compose build --no-cache
    docker compose up
  3. Ensure simple-zstd is included in package.json:
    Make sure that the simple-zstd package is included in your package.json and properly installed, as it is required by webpack.proxy-config.js for handling zstd compression:

    "dependencies": {
      "simple-zstd": "^1.0.0"
    }

    Run the following command to install the necessary npm packages:

    npm install

This should help resolve the error you are encountering [1][2].

To continue talking to Dosu, mention @dosu.

from superset.

birkskyum avatar birkskyum commented on September 13, 2024

I hit this error too, on macos arm64 .

superset_node         | > webpack --mode=development --color --watch
superset_node         | 
superset_node         | [webpack-cli] Failed to load '/app/superset-frontend/webpack.config.js' config
superset_node         | [webpack-cli] Error: Can not access zstd! Is it installed?

from superset.

victorfonseca avatar victorfonseca commented on September 13, 2024

Same here, anyone found how to workaround this issue?

from superset.

MialLewis avatar MialLewis commented on September 13, 2024

Same here, anyone found how to workaround this issue?

If you read the PR linked in the description there’s a hacky solution to get things moving.

from superset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.