Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant start the application #123

Closed
blavejr opened this issue Feb 21, 2024 · 8 comments
Closed

Cant start the application #123

blavejr opened this issue Feb 21, 2024 · 8 comments

Comments

@blavejr
Copy link

blavejr commented Feb 21, 2024

Hi guys I have tried and tried but I am unable to get this application to start

make init doesn't work and throws some errors

make init
./scripts/init.sh
rm: /Users/username/.minid: No such file or directory
./scripts/init.sh: line 6: config: command not found
./scripts/init.sh: line 7: config: command not found
./scripts/init.sh: line 8: keys: command not found
./scripts/init.sh: line 9: keys: command not found
./scripts/init.sh: line 10: init: command not found
./scripts/init.sh: line 12: genesis: command not found
./scripts/init.sh: line 13: genesis: command not found
./scripts/init.sh: line 15: genesis: command not found
./scripts/init.sh: line 16: genesis: command not found
make: *** [init] Error 127

If there are extra steps please let me know

@julienrbrt
Copy link
Member

Could you please show what returns:

$ minid

@blavejr
Copy link
Author

blavejr commented Feb 22, 2024

Hi @julienrbrt it was not found, but I created a PR which I think might fix my issue maybe take a look there.

@murat1999
Copy link

murat1999 commented Feb 29, 2024

For those who are wondering how to fix it (For Mac users).

  1. Find the location where minid is installed. It can be in either of this directories: ls /usr/local/bin/minid or ls ~/go/bin/minid. I found in here ls ~/go/bin/minid
  2. Edit Your Shell Profile. In my case it was ~/.zshrc open -a TextEdit ~/.zshrc
  3. Add to PATH: export PATH=$PATH:/Users/username/go/bin add this to the end of file.
  4. Apply the changes: source ~/.zshrc
  5. To verify that minid is now correctly in your path, you can run: which minid

@ahmadSaeedGoda
Copy link

I have minid command not found, running on Ubuntu 22.04 using zsh.

Having the same issue, what can I do?

@julienrbrt
Copy link
Member

julienrbrt commented Apr 29, 2024

You need to add $GOPATH/bin to your $PATH.

@ahmadSaeedGoda
Copy link

Well, I just removed the 3rd line from go.mod file:
toolchain go1.21.0

and then it worked like a charm!

Kindly lemme know what do you think about that?!

As I believe that basically the issue was coming from not being able to verify that file using the command: @go mod verify from the Makefile when running make install.

BTW, I am using gvm as a version manager for the GoLang installation.

One more thing you may kindly help me with, What can I do after having a successful installation and starting the chain via minid start? 😀 😁 💯

@ahmadSaeedGoda
Copy link

ahmadSaeedGoda commented Apr 29, 2024

Please excuse my newbie lack of knowledge, I was just expecting the README file to expose more info 😸 to guide me through the journey or refer to some guidance.

@ahmadSaeedGoda
Copy link

@julienrbrt May you kindly let me know your thoughts 🙏

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

No branches or pull requests

4 participants