forked from sunneydev/bun-compression
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have installed hono-compress version 6. After building(bun run build) the app and launching(bun run start) it, I started getting the error:
bun run start
Server start http://localhost:3006
ENOENT: no such file or directory, open 'D:/*/dist/brotli_wasm_bg.wasm'
path: "D:/*/dist/brotli_wasm_bg.wasm",
syscall: "open",
errno: -2,
code: "ENOENT"
Bun v1.2.1 (Windows x64)
error: script "start" exited with code 1
I tried copying it and got an error:
bun run start
$ bun run dist/app.js
Server start http://localhost:3006
TypeError: import __wbindgen_placeholder__:__wbindgen_is_undefined must be an object
Bun v1.2.1 (Windows x64)
error: script "start" exited with code 1
My package.json:
{
"scripts": {
"dev": "bun run --hot --inspect src/app.ts",
"build": "bun build src/app.ts --outdir ./dist --target node",
"start": "bun run dist/app.js",
"seed": "bun prisma/seed.ts",
"seed:dev": "bun prisma/seed.dev.ts"
},
"dependencies": {
"@prisma/client": "^6.1.0",
"@types/bcryptjs": "^2.4.6",
"@types/jsonwebtoken": "^9.0.7",
"@types/web-push": "^3.6.4",
"axios": "^1.7.7",
"bcryptjs": "^2.4.3",
"crypto": "^1.0.1",
"date-fns": "^4.1.0",
"hono": "^4.6.3",
"hono-compress": "0.6.0",
"jsonwebtoken": "^9.0.2",
"openai": "^4.67.3",
"socks-proxy-agent": "^8.0.4",
"web-push": "^3.6.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@faker-js/faker": "^9.3.0",
"@types/bun": "^1.1.11",
"prisma": "^6.1.0"
}
}
LeBombusP
Metadata
Metadata
Assignees
Labels
No labels