RE: Karaka Tutorial #1: A Basic Tutorial config.json example

avatar

You are viewing a single comment's thread:

Yes. Hive engine tokens are supported in their own "hiveengine" section. See the example config.json on the GitHub site. I'll write a tutorial on this soon.
I have a "sell half, stake half" policy for many tokens and have written Karaka rules to do this for me. The staking command format is basically the same e.g. stake 10 LEO from eturnerx but it has to be in a hiveengine section.



0
0
0.000
22 comments
avatar

Ok, i will try it.

0
0
0.000
avatar

I may also. Not all In but a portion

0
0
0.000
avatar

I will also look which i will use an which non. Bilpcoin is not working for me so this wouöd be oneni will exchange

0
0
0.000
avatar
(Edited)

DM me on discord (eturnerx). Please send your config.json with the private key obscured. I'll check your hiveengine section is correct and look over your rules.

0
0
0.000
avatar

Thanks but i think i need some time, a lot to do. Maybe next weekend.

0
0
0.000
avatar

hello @eturnerx, i had some time and died first steps but i get this error:

grafik.png

Its win 7, can this be the problem? I will try it on other device with win 10 if this is the problem.

0
0
0.000
avatar
(Edited)

Not OS related. Maybe I wrote the package.json wrong. Try this command:
npm install --saveDev @types/node@^latest

0
0
0.000
avatar

Same message :(

0
0
0.000
avatar

Try:
npm install --save @types/[email protected]

0
0
0.000
avatar

also same message

0
0
0.000
avatar

So, the same message about the missing peer dependency, or the audit security issue, or both?
If it's the audit security message, then there is an issue with a dependency used by dhive. You can investigate the security risk yourself to see if you trust the proposed fix, but from memory, the issue was a vulnerability in axios.
npm audit will tell you what the problem is.
npm audit fix will try to automatically fix the problem if you think it's fine to do so
npm audit fix --force will try even harder to fix the problem. I sometimes find I have to run fix-force a few times until the audit is clear.

If it's the missing dependencies still, I'm getting to the end of my knowledge on the issue. Maybe you can try npm version and node --version and let me know what it reports.
Maybe this can help: https://www.npmjs.com/package/npm-install-peers

0
0
0.000
avatar

Device 1 win 7
grafik.png

Device 2 win 10
grafik.png

force did not work, tried it few times.

0
0
0.000
avatar

Thanks for your patience with this. I can fix some of the issues in the next version, but the audit problem will take a new release of dhive.
You could try going into the node_modules folder, then into the @hiveio/dhive folder. In there try npm audit fix and npm audit fix --force a few times. If that doesn't work, can you please give me the output of the command npm audit when run from Karaka's project directory?

0
0
0.000
avatar

grafik.png

can i have made something wrong at the instalation of node js?

0
0
0.000