Open darwindennis03 opened 1 month ago
Hey there, @darwindennis03! I'm here to help you with any bugs, questions, or contributions you have for Superset. Let's work together to solve this issue!
I found some similar issues and discussions that might help you resolve the problem:
Similar Discussions:
Similar Issues:
To address the specific error you're encountering, ensure that the zstd
dependency is correctly installed and configured. The zstd
dependency is specified and used in the superset-frontend/webpack.proxy-config.js
file:
const { ZSTDDecompress } = require('simple-zstd');
// ...
if (responseEncoding === 'zstd') {
uncompress = ZSTDDecompress();
}
zstd
on Windows:Install simple-zstd
Package:
Ensure that the simple-zstd
package is installed in your project. You can install it using npm:
npm install simple-zstd
Verify Installation:
After installation, verify that the package is correctly installed by checking your node_modules
directory for simple-zstd
.
Check Configuration:
Ensure that your webpack.proxy-config.js
file correctly imports and uses the ZSTDDecompress
function from the simple-zstd
package.
If you continue to experience issues, please provide additional details about the error messages or any specific configurations you have in place.
To continue talking to Dosu, mention @dosu.
Problem is simple-std package itself uses zstd in background . When i inspect the simple-std node package it has const find = (process.platform === 'win32') ? 'where zstd.exe' : 'which zstd';
which checks for the zstd .
Any suggestions regarding this .
The simple-zstd
package relies on the zstd
executable being available on your system. Since you're on Windows, you'll need to ensure that zstd.exe
is installed and accessible in your system's PATH.
zstd
on Windows:Download zstd
Executable:
zstd
executable for Windows (usually found in the zstd-vX.X.X-win64.zip
file).Extract and Place zstd.exe
:
zstd.exe
in a directory that is included in your system's PATH. Common directories include C:\Windows\System32
or any other directory that is already in your PATH.Add Directory to PATH (if needed):
zstd.exe
in a custom directory, you need to add this directory to your system's PATH.zstd.exe
is located.Verify Installation:
zstd
is accessible:
where zstd.exe
zstd.exe
, the installation is successful.After completing these steps, try running your development server again. This should resolve the issue with accessing zstd
on Windows.
To continue talking to Dosu, mention @dosu.
@dosu Can u provide discussion link for superset build tools installation required for windows .
I am facing same issue for Mac OS as well, any solution for the same ?
@webobite on Mac, you need to install zstd
via Homebrew (brew install zstd
)
@darwindennis03 might I know if you are running dev-server
in WSL or native Windows? If it's the latter case, and assuming you're using Ubuntu/Debian-flavoured distro, you can install zstd
via apt-get install zstd
.
I'll probably make a PR to add these steps as instructions.
Native windows 32bit . Waiting for that PR thanks .
@webobite on Mac, you need to install
zstd
via Homebrew (brew install zstd
)
Thanks, It worked for me.
when i inspect simple-zstd package it still checks for the path of the zstd installation. Do i need to have it in my windows build tools or something like that .
Just adding that we don't officially support Windows... but if you add (or anyone adds) some docs/scripts/support to make Superset work on Windows reliably, maybe we can in the future.
Bug description
Cannot access the zstd file in windows!!
Answers appreciated!!
Screenshots/recordings
INFO: Could not find files for the given pattern(s). [webpack-cli] Failed to load 'C:\Users\trias\superset\superset-latest\superset-frontend\webpack.config.js' config [webpack-cli] Error: Can not access zstd! Is it installed?
Superset version
master / latest-dev
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
No response
Checklist