jimp-dev / jimp-dev/jimp

The `@jimp/wasm-webp` doesn't seem to work in `node` environment.

Open
#1,366 11 comments 17 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14.7k
Forks
777
PR merge metrics
No merged PRs in 30d

Description

The `@jimp/wasm-webp` doesn't seem to work in `node` environment.

```js
at node:internal/deps/undici/undici:13392:13 {
[cause]: Error: not implemented... yet...
at makeNetworkError (node:internal/deps/undici/undici:9166:35)
at schemeFetch (node:internal/deps/undici/undici:10561:34)
at node:internal/deps/undici/undici:10410:26
at mainFetch (node:internal/deps/undici/undici:10429:11)
at fetching (node:internal/deps/undici/undici:10377:7)
at fetch (node:internal/deps/undici/undici:10246:20)
at fetch (node:internal/deps/undici/undici:13390:10)
at fetch (node:internal/bootstrap/web/exposed-window-or-worker:81:12)
at instantiateAsync (./node_modules/@jsquash/webp/codec/dec/webp_dec.js:8:8235)
at createWasm (./node_modules/@jsquash/webp/codec/dec/webp_dec.js:8:9240)
```

_Originally posted by @Debbl in https://github.com/jimp-dev/jimp/issues/1358#issuecomment-2544788931_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.