Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm64 support #89

Open
vitpankin opened this issue Sep 9, 2024 · 0 comments
Open

Arm64 support #89

vitpankin opened this issue Sep 9, 2024 · 0 comments

Comments

@vitpankin
Copy link

vitpankin commented Sep 9, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant