Code Monkey home page Code Monkey logo

Comments (8)

suntong avatar suntong commented on August 15, 2024 1

Please take a look at
https://github.com/suntong/cascadia/actions/runs/1596372916/jobs/2135287222

I.e., without go.mod it builds just fine.

I'll take a look at the CI/CD build again tomorrow.

from cascadia.

suntong avatar suntong commented on August 15, 2024 1

Ops, now I know. thx.

from cascadia.

0xdevalias avatar 0xdevalias commented on August 15, 2024

Generating a 'v0 or v1 module':

⇒  git clone https://github.com/suntong/cascadia
Cloning into 'cascadia'...
remote: Enumerating objects: 314, done.
remote: Counting objects: 100% (107/107), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 314 (delta 56), reused 61 (delta 26), pack-reused 207
Receiving objects: 100% (314/314), 84.58 KiB | 4.97 MiB/s, done.
Resolving deltas: 100% (184/184), done.

⇒  cd cascadia

⇒  go mod init
go: cannot determine module path for source directory /Users/devalias/dev/tmp/cascadia (outside GOPATH, module path must be specified)

Example usage:
	'go mod init example.com/m' to initialize a v0 or v1 module
	'go mod init example.com/m/v2' to initialize a v2 module

Run 'go help mod init' for more information.


⇒  go mod init github.com/suntong/cascadia
go: creating new go.mod: module github.com/suntong/cascadia
go: to add module requirements and sums:
	go mod tidy

⇒  go mod tidy
go: finding module for package golang.org/x/net/html
go: finding module for package github.com/PuerkitoBio/goquery
go: finding module for package github.com/andybalholm/cascadia
go: finding module for package github.com/mkideal/cli
go: finding module for package github.com/mkideal/cli/ext
go: downloading golang.org/x/net v0.5.0
go: downloading github.com/PuerkitoBio/goquery v1.8.0
go: downloading github.com/mkideal/cli v0.2.7
go: downloading github.com/andybalholm/cascadia v1.3.1
go: found github.com/PuerkitoBio/goquery in github.com/PuerkitoBio/goquery v1.8.0
go: found github.com/andybalholm/cascadia in github.com/andybalholm/cascadia v1.3.1
go: found github.com/mkideal/cli in github.com/mkideal/cli v0.2.7
go: found github.com/mkideal/cli/ext in github.com/mkideal/cli v0.2.7
go: found golang.org/x/net/html in golang.org/x/net v0.5.0
go: downloading github.com/mkideal/pkg v0.1.3
go: downloading github.com/labstack/gommon v0.3.0
go: downloading github.com/mattn/go-colorable v0.1.7
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/mkideal/expr v0.1.0
go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
go: downloading github.com/stretchr/testify v1.4.0
go: downloading golang.org/x/sys v0.4.0
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/davecgh/go-spew v1.1.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading golang.org/x/term v0.4.0

Gave me this go.mod file:

module github.com/suntong/cascadia

go 1.19

require (
	github.com/PuerkitoBio/goquery v1.8.0
	github.com/andybalholm/cascadia v1.3.1
	github.com/mkideal/cli v0.2.7
	golang.org/x/net v0.5.0
)

require (
	github.com/labstack/gommon v0.3.0 // indirect
	github.com/mattn/go-colorable v0.1.7 // indirect
	github.com/mattn/go-isatty v0.0.12 // indirect
	github.com/mkideal/expr v0.1.0 // indirect
	github.com/mkideal/pkg v0.1.3 // indirect
	golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
	golang.org/x/sys v0.4.0 // indirect
	golang.org/x/term v0.4.0 // indirect
)

from cascadia.

0xdevalias avatar 0xdevalias commented on August 15, 2024

Opened a PR to add the go.mod file:

from cascadia.

0xdevalias avatar 0xdevalias commented on August 15, 2024

Please take a look at
suntong/cascadia/actions/runs/1596372916/jobs/2135287222

I can't see any failed error logs/etc there, might not be visible to me? But I wonder if it's just something as simple as using an older/outdated version of go or similar?

I'll take a look at the CI/CD build again tomorrow.

Cool, sounds good :)

from cascadia.

suntong avatar suntong commented on August 15, 2024

I can't see any failed error logs/etc there,

Ops, check this one: https://github.com/suntong/cascadia/actions/runs/1596372915/jobs/2135287217

from cascadia.

0xdevalias avatar 0xdevalias commented on August 15, 2024

check this one: suntong/cascadia/actions/runs/1596372915/jobs/2135287217

image

from cascadia.

0xdevalias avatar 0xdevalias commented on August 15, 2024

No worries :)

from cascadia.

Related Issues (8)

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.