Giter Site home page Giter Site logo

Error building /app about scope HOT 12 CLOSED

tayzlor avatar tayzlor commented on May 4, 2024
Error building /app

from scope.

Comments (12)

tomwilkie avatar tomwilkie commented on May 4, 2024

Hi! Is your $GOPATH setup properly? Where have you checked out scope?

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

as root on a digitalocean instance -

echo $GOPATH
/root/go

scope is checked out to

/root/scope/app

And did go get to retrieve all the dependencies. Maybe want to add that to your Makefile too (dependency retrieval)

from scope.

tomwilkie avatar tomwilkie commented on May 4, 2024

You need to checkout scope into the appropriate place; move it to /root/go/src/github.com/weaveworks/scope then give it a go.

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

Looks like I already have a go/src/github.com/weaveworks/scope/ and a go/src/github.com/weaveworks/procspy dirs there. Might have been retrieved via go get?

If I go to those dirs and run make build I still receive the same error.

from scope.

tomwilkie avatar tomwilkie commented on May 4, 2024

Could have; I'd delete /root/scope and run with the ones in go/src/...

If you do a make in there, does it work?

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

See above - doesn't work form ~/go/src/github.com/weaveworks/scope either

from scope.

tomwilkie avatar tomwilkie commented on May 4, 2024

Hmmm I'm at a bit of a loss; could be something to do with building as root? I doubt it. Can you build other go projects?

Do you get the same error when running make in the root of the repo?

from scope.

tomwilkie avatar tomwilkie commented on May 4, 2024

According to this it might be a memory problem: beego/wetalk#32

How much memory does the VM have?

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

its just a small DO instance - so it has 512 MB

from scope.

tomwilkie avatar tomwilkie commented on May 4, 2024

Ah thats probably it. I think you might need more memory to build I'm afraid.

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

Cool - i'll try bumping it and see

from scope.

tayzlor avatar tayzlor commented on May 4, 2024

Confirming build works if I bump to 1GB memory, Closing.

from scope.

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.