Skip to content

TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file #278

@Trentist

Description

@Trentist

Hi, everyone
I tried to use monero-ts and run the sample code on monero node.js example, but I get this error
Connecting to daemon
TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file
at Object.readFileSync (node:fs:447:42)
at importScripts (D:\skill\blockchain\Saxap\backend\node_modules\web-worker\dist\node\index.cjs:118:93)
at workerThread (D:\skill\blockchain\Saxap\backend\node_modules\web-worker\dist\node\index.cjs:138:64)
at Object. (D:\skill\blockchain\Saxap\backend\node_modules\web-worker\dist\node\index.cjs:55:114)
at Module._compile (node:internal/modules/cjs/loader:1529:14)
at Object..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275:32)
at Function._load (node:internal/modules/cjs/loader:1096:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at MessagePort. (node:internal/main/worker_thread:192:26) {
code: 'ERR_INVALID_URL_SCHEME'
}

Hope your help

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