You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Vite + Bun (also tried with Yarn)
Have and application, importing assetpack crashes it import { compress, type CompressOptions } from "@assetpack/core/image";
or import { compress, type CompressOptions } from "@assetpack/plugin-compress";
Error is [vite] Internal server error: Failed to resolve import "@node-rs/crc32-wasm32-wasi" from "node_modules/@node-rs/crc32/browser.js". Does the file exist?
In node modules:
-crc32
-crc32-darwin-arm64
But @node-rs/crc32/browser.js exports as
export * from '@node-rs/crc32-wasm32-wasi'
Is it yours, or @node-rs?
The text was updated successfully, but these errors were encountered:
I'm using Vite + Bun (also tried with Yarn)
Have and application, importing assetpack crashes it
import { compress, type CompressOptions } from "@assetpack/core/image";
or
import { compress, type CompressOptions } from "@assetpack/plugin-compress";
Error is
[vite] Internal server error: Failed to resolve import "@node-rs/crc32-wasm32-wasi" from "node_modules/@node-rs/crc32/browser.js". Does the file exist?
In node modules:
But
@node-rs/crc32/browser.js
exports asIs it yours, or @node-rs?
The text was updated successfully, but these errors were encountered: