8000 loader.js infura transaction call js issue · Issue #7 · INFURA/demo-eth-tx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
loader.js infura transaction call js issue #7
Open
@anotherrohit

Description

@anotherrohit

I get the following error trying to use the infura calljs. What loader am i missing? I do not see any such import on the file? Where can I get the Demo.json from? Do I have to point the path to the file to get rid of the error?
const fs = require("fs");
const { abi } = JSON.parse(fs.readFileSync("Demo.json"));

\demo-eth-tx-master>node infura-transaction/call.js
internal/modules/cjs/loader.js:582
throw err;
^

Error: Cannot find module 'demo-eth-tx-master\infura-transaction\call.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0