introduction-docs icon indicating copy to clipboard operation
introduction-docs copied to clipboard

Faulty code snippet in Integrate Exchange

Open aleksei-korolev opened this issue 2 years ago • 1 comments

In the Integration Exchange, the code snippet for creating account manager instance (section 1 throws the following error:

Uncaught Error Error: internal error in Neon module: error initializing account manager: MissingParameter("client_options")
    at MessageHandler (/home/aleksei-work/Downloads/asdfasdf/New Folder/node_modules/@iota/wallet/out/lib/MessageHandler.js:16:64)
    at AccountManager (/home/aleksei-work/Downloads/asdfasdf/New Folder/node_modules/@iota/wallet/out/lib/AccountManager.js:11:31)
    at <anonymous> (/home/aleksei-work/Downloads/asdfasdf/New Folder/main.js:4:17)
    at Module._compile (internal/modules/cjs/loader:1119:14)
    at Module._extensions..js (internal/modules/cjs/loader:1173:10)
    at Module.load (internal/modules/cjs/loader:997:32)
    at Module._load (internal/modules/cjs/loader:838:12)
    at executeUserEntryPoint (internal/modules/run_main:81:12)
    at <anonymous> (internal/main/run_main_module:18:47)

I didn't check the rest of the guide

aleksei-korolev avatar Oct 18 '22 10:10 aleksei-korolev

Looks like it fails since the stardust version gets installed already, but should still use the 1.x version

Thoralf-M avatar Oct 18 '22 10:10 Thoralf-M