DenoDDeno
Powered by
ZombieBZ
Denoβ€’6mo ago
ZombieB

npm:@img/sharp-wasm32 package on Deno 2.5.0

Hi, I'm attempting to use sharp's WebAssembly package on Deno.
The native binaries for the package don't work with
deno compile
deno compile
AFAIK, so I'm trying wasm.
Do I need to install
npm:@img/sharp-wasm32
npm:@img/sharp-wasm32
as well as
npm:sharp
npm:sharp
? I can't seem to import anything from the former.

import sharp from "npm:@img/sharp-wasm32";
// NPM package "@img/sharp-wasm32@^0.34.3" does not define an export ".".
import sharp from "npm:@img/sharp-wasm32";
// NPM package "@img/sharp-wasm32@^0.34.3" does not define an export ".".
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

DuckDB deno package broken & npm package segfaulting
csjhCcsjh / help
3y ago
Angular on Deno 2.0
Chrissi | FreakyCChrissi | Freaky / help
2y ago
Deno can't install this npm package "npm:@scaleway/sdk@2.76.8"
KediKKedi / help
6mo ago
Deno compatibility with local Node/NPM package
darksingeDdarksinge / help
7mo ago