I get following errors in node v16.13.0 when importing this
(node:18561) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
./node_modules/fzstd/esm/index.js:40
export var ZstdErrorCode = {
As far as I can tell node does not like export because "type": "module" is not set in package.json so it treats it as cjs instead.
I get following errors in node v16.13.0 when importing this
As far as I can tell node does not like
export
because"type": "module"
is not set in package.json so it treats it as cjs instead.