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
{{ message }}
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
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"));
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)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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)
The text was updated successfully, but these errors were encountered: