Skip to content

failed to asynchronously prepare wasm: ReferenceError: Response is not defined #267

@dutu

Description

@dutu

When node.js option --no-experimental-fetch is used, the following error occurs:

failed to asynchronously prepare wasm: ReferenceError: Response is not defined
Aborted(ReferenceError: Response is not defined)
Unhandled Rejection at: Promise {
  <rejected> RuntimeError: Aborted(ReferenceError: Response is not defined). Build with -sASSERTIONS for more info.
      at abort (\node_modules\monero-ts\dist\monero.js:9:5674)
      at \node_modules\monero-ts\dist\monero.js:9:2082402,
  [Symbol(async_id_symbol)]: 33585,
  [Symbol(trigger_async_id_symbol)]: 33569

OS: Windows 11
node.js: v20.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions