Skip to content

Uncaught exception in napi/__test__/resolver.spec.mjs #190

@Boshen

Description

@Boshen

@oxc-resolver/[email protected] test /home/runner/work/oxc-resolver/oxc-resolver
ava

  Uncaught exception in napi/__test__/resolver.spec.mjs

  LinkError: WebAssembly.Instance(): Import #68 module="env" function="uv_default_loop" error: function import requires a callable

  LinkError: WebAssembly.Instance(): Import #68 module="env" function="uv_default_loop" error: function import requires a callable
      at loadSync (/home/runner/work/oxc-resolver/oxc-resolver/node_modules/.pnpm/@[email protected]/node_modules/@emnapi/core/dist/emnapi-core.cjs.js:78:22)
      at loadSyncCallback (/home/runner/work/oxc-resolver/oxc-resolver/node_modules/.pnpm/@[email protected]/node_modules/@emnapi/core/dist/emnapi-core.cjs.js:6497:18)
      at loadNapiModuleImpl (/home/runner/work/oxc-resolver/oxc-resolver/node_modules/.pnpm/@[email protected]/node_modules/@emnapi/core/dist/emnapi-core.cjs.js:6420:[12](https://github.com/oxc-project/oxc-resolver/actions/runs/9644505678/job/26596722992?pr=180#step:6:13))
      at instantiateNapiModuleSync (/home/runner/work/oxc-resolver/oxc-resolver/node_modules/.pnpm/@[email protected]/node_modules/@emnapi/core/dist/emnapi-core.cjs.js:6520:12)
      at Object.<anonymous> (/home/runner/work/oxc-resolver/oxc-resolver/napi/resolver.wasi.cjs:48:86)
      at Module._compile (node:internal/modules/cjs/loader:[13](https://github.com/oxc-project/oxc-resolver/actions/runs/9644505678/job/26596722992?pr=180#step:6:14)58:[14](https://github.com/oxc-project/oxc-resolver/actions/runs/9644505678/job/26596722992?pr=180#step:6:15))
      at Object..js (node:internal/modules/cjs/loader:14[16](https://github.com/oxc-project/oxc-resolver/actions/runs/9644505678/job/26596722992?pr=180#step:6:17):10)
      at Module.load (node:internal/modules/cjs/loader:1208:32)
      at Function._load (node:internal/modules/cjs/loader:1024:12)
      at cjsLoader (node:internal/modules/esm/translators:348:[17](https://github.com/oxc-project/oxc-resolver/actions/runs/9644505678/job/26596722992?pr=180#step:6:18))

  ✘ napi/__test__/resolver.spec.mjs exited with a non-zero exit code: 1
  ─

if: false # LinkError: WebAssembly.Instance(): Import #68 module="env" function="uv_default_loop" error: function import requires a callable

# - os: ubuntu-latest
# target: wasm32-wasip1-threads

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions