developerguides icon indicating copy to clipboard operation
developerguides copied to clipboard

TypeError: Maker.create is not a function

Open TheScalper opened this issue 3 years ago • 0 comments

Following the test-chain-guide.md walkthrough in Interacting with Maker Protocol contracts section. Copy the below example in your js file Run the file with node vault.js

When I execute the vault.js I have the following error : ~/dev/test$ node vault.js error TypeError: Maker.create is not a function at start (/home/david/dev/test/vault.js:8:35) at Object. (/home/david/dev/test/vault.js:35:1) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Did I miss something?

TheScalper avatar Aug 27 '22 20:08 TheScalper