Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

cardano-cli: not found #4

Closed
roman-HS opened this issue Jul 7, 2021 · 10 comments
Closed

cardano-cli: not found #4

roman-HS opened this issue Jul 7, 2021 · 10 comments

Comments

@roman-HS
Copy link

roman-HS commented Jul 7, 2021

Hi guys,

I'm sorry for opening an issue but I haven't found any other way to contact you. I have been doing the tutorial but I'm having an issue when running the create-wallet file. Like it doesn't found cardano-cli... I have installed both (cardano-cli & cardano node). I have even consoled out the object coming from your library cardanocli-js` so I'm not sure what's happening.

please see below the error I'm getting

Screen Shot 2021-07-07 at 6 57 45 PM

Can you please help me out?

@AstroWa3l
Copy link
Member

AstroWa3l commented Jul 8, 2021

Hi Roman, are you following the guide on our website ? If so, why are you using sudo to run the wallet command?

After creating the wallet file you should actually change back to the "minter" directory not "src" and run the script. You should use this command:

node src/create-wallet.js

@roman-HS
Copy link
Author

roman-HS commented Jul 8, 2021

Hi, thanks for the reply.

Yes, I'm following the tutorial. I'm using sudo because I have cardano-node in a Linux VM (VirtualBox). Either way I don't think sudo is the root of the proble since I am able to run the other scripts up to that point.

About the location, I have tried running the script from the minter folder too and i get the same issue (I don;t think the location is neither the problem). Please see below the same error when I run the command from the minter folder.

Screen Shot 2021-07-08 at 8 19 59 AM

Thanks

@ghost
Copy link

ghost commented Jul 8, 2021

Hi guys,

I'm sorry for opening an issue but I haven't found any other way to contact you. I have been doing the tutorial but I'm having an issue when running the create-wallet file. Like it doesn't found cardano-cli... I have installed both (cardano-cli & cardano node). I have even consoled out the object coming from your library cardanocli-js` so I'm not sure what's happening.

please see below the error I'm getting

Screen Shot 2021-07-07 at 6 57 45 PM

Can you please help me out?

the command in the code outdated: https://www.npmjs.com/package/cardanocli-js here, check out the getting started code to make appropriate changes.

@roman-HS
Copy link
Author

roman-HS commented Jul 8, 2021

Hi guys,
I'm sorry for opening an issue but I haven't found any other way to contact you. I have been doing the tutorial but I'm having an issue when running the create-wallet file. Like it doesn't found cardano-cli... I have installed both (cardano-cli & cardano node). I have even consoled out the object coming from your library cardanocli-js` so I'm not sure what's happening.
please see below the error I'm getting
Screen Shot 2021-07-07 at 6 57 45 PM
Can you please help me out?

the command in the code outdated: https://www.npmjs.com/package/cardanocli-js here, check out the getting started code to make appropriate changes. however i still am running into errors while attempting to mint tokens....i guess this code needs a revision

I have tried the new code and I'm still having the same issues when I try to run the create-wallet script (see below)

Screen Shot 2021-07-08 at 10 20 05 AM

Screen Shot 2021-07-08 at 10 20 37 AM

Screen Shot 2021-07-08 at 10 24 27 AM

@AstroWa3l
Copy link
Member

your Cardano node is fully synced to the blockchain, right?

@AstroWa3l
Copy link
Member

@sublayerio any clue why they maybe are having an issue?

@ghost
Copy link

ghost commented Jul 9, 2021

Hi guys,
I'm sorry for opening an issue but I haven't found any other way to contact you. I have been doing the tutorial but I'm having an issue when running the create-wallet file. Like it doesn't found cardano-cli... I have installed both (cardano-cli & cardano node). I have even consoled out the object coming from your library cardanocli-js` so I'm not sure what's happening.
please see below the error I'm getting
Screen Shot 2021-07-07 at 6 57 45 PM
Can you please help me out?

the command in the code outdated: https://www.npmjs.com/package/cardanocli-js here, check out the getting started code to make appropriate changes. however i still am running into errors while attempting to mint tokens....i guess this code needs a revision

I have tried the new code and I'm still having the same issues when I try to run the create-wallet script (see below)

Screen Shot 2021-07-08 at 10 20 05 AM Screen Shot 2021-07-08 at 10 20 37 AM Screen Shot 2021-07-08 at 10 24 27 AM

I'm guessing cardano.js file doesn't have all inputs ...check out his client file (like dir)....and I suggest trying on testnet if this is your first time...so you don't risk your real ada

@AstroWa3l
Copy link
Member

AstroWa3l commented Jul 9, 2021

You shouldn't use sudo any where in the tutorial other than where we put it. So yeah it can be an issue. I don't not think it's the issue here either. But the location was an issue if your using those commands listed on the tutorial while in the src folder.

Is your cardano node fully synched to the blockchain?

@roman-HS
Copy link
Author

roman-HS commented Jul 9, 2021

Yes, the cardano node is fully synced to the blockchain (see below). If I don't use sudo I got permission errors from VirtualBox. See below where one of the terminals has the command running on the same location as the tutorial.

Screen Shot 2021-07-09 at 4 26 43 PM

@ghost
Copy link

ghost commented Jul 10, 2021

Yes, the cardano node is fully synced to the blockchain (see below). If I don't use sudo I got permission errors from VirtualBox. See below where one of the terminals has the command running on the same location as the tutorial.

Screen Shot 2021-07-09 at 4 26 43 PM

Check your node version ( I'm not sure that's the problem...but still) I myself am using a virtual box ubuntu...the code worked just fine....also try cloning the repo code and running it ....in that way you might figure out wether it's the environment problem or the code itself

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants