Code Monkey home page Code Monkey logo

Comments (6)

collincusce avatar collincusce commented on July 19, 2024

Hey I don't know how go modules work, what is the difference between Test 1 and Test 2? What needs to be fixed?

from avash.

michaelbnewman avatar michaelbnewman commented on July 19, 2024

Modules take any requested library to be installed and isolates it to the active project. So if I install gecko and stay in the gecko install directory, moving on immediately to avash install messing it up because it thinks i'm trying to integrate it directly with gecko. Something as simply as putting a note in the install directions to start with a clean directory (essentially without a "go.mod" file in it) solves the issue. Test 1 shows what happens if you stay in the gecko install directory. Never generates the avash folder in the gopath location expected. Test 2 moves out of gecko install before installing avash and it all works fine.

from avash.

collincusce avatar collincusce commented on July 19, 2024

This sounds like Golang behavior and not avash behavor. Plus I don't think our instructions say to do what you did.

https://github.com/ava-labs/avash#quick-setup

from avash.

michaelbnewman avatar michaelbnewman commented on July 19, 2024

Existing steps:

    • Install and build an AVA client
    • go get github.com/ava-labs/avash

There is no step 1.5 saying to leave the gecko AVA client install directory. I leave it your discretion if overkill to tell someone that. As being myself previously not familiar with golang modules, it was very confusing for me. Its here for historical records on github if someone else stumbles the say way I did.

from avash.

collincusce avatar collincusce commented on July 19, 2024

Our steps are:

  1. Install and build an AVA client
  2. go get github.com/ava-labs/avash
  3. cd $GOPATH/src/github.com/ava-labs/avash
  4. go build

They already do tell you to go to the avash directory before building.

I don't see the issue here?

Here's a link to our README: https://github.com/ava-labs/avash/blob/master/README.md

from avash.

collincusce avatar collincusce commented on July 19, 2024

I think we document what you're asking for already. I'm closing this issue. If you have more details we can chat in Discord and I'll see where the confusion is, but our existing steps already put you in the avash directory.

from avash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.