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
$ git clone https://github.com/yjl9903/naria2.git
$ cd naria2
$ pnpm i
$ pnpm build
$ node scripts/spawn.mjs
Error: Not Found `WebSocket()`in globalThis or require() at createWebSocket (file:///.../naria2/node_modules/.pnpm/maria2@0.2.8-beta.2_cross-fetch@4.0.0_uuid@9.0.0_ws@8.13.0/node_modules/maria2/dist/index.mjs:232:11) at createSubprocess (file:///.../naria2/packages/naria2/dist/index.mjs:23:14) at bootstrap (file:///.../naria2/scripts/spawn.mjs:5:26) at file:///.../naria2/scripts/spawn.mjs:11:1 at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
The text was updated successfully, but these errors were encountered:
yjl9903
changed the title
fails requiring ws module
can not find fallback ws package.
Jul 11, 2023
Using maria2 as a dependency, it can not find fallback ws package.
My vitest can not found ws, see https://github.com/yjl9903/naria2/actions/runs/5523638646/jobs/10074838176
And using it in esm also does not work:
The text was updated successfully, but these errors were encountered: