Giter Club home page Giter Club logo

Comments (3)

danielmichaels avatar danielmichaels commented on June 17, 2024 1

Thank you for such a prompt response to this issue.

I can confirm that using v3.15.2 will generate the examples.

from goa.

danielmichaels avatar danielmichaels commented on June 17, 2024

I've also hit this issue just today,

task: [example] goa example github.com/xx/server/design 
exit status 2
panic: failed to load template security_authfuncs: open templates/security_authfuncs.go.tpl: file does not exist

goroutine 1 [running]:
goa.design/goa/v3/codegen/service.readTemplate({0x9d1e64, 0x12})
        /home/danielmichaels/go/pkg/mod/goa.design/goa/[email protected]/codegen/service/templates.go:15 +0xf4
goa.design/goa/v3/codegen/service.exampleServiceFile({0xc00002b740, 0x26}, 0x9?, 0xc000237700, {0xc0003c2ff0, 0x9})
        /home/danielmichaels/go/pkg/mod/goa.design/goa/[email protected]/codegen/service/example_svc.go:92 +0x605
goa.design/goa/v3/codegen/service.ExampleServiceFiles({0xc00002b740, 0x26}, 0xe3b040)
        /home/danielmichaels/go/pkg/mod/goa.design/goa/[email protected]/codegen/service/example_svc.go:53 +0x2b5
goa.design/goa/v3/codegen/generator.Example({0xc00002b740, 0x26}, {0xc000283540?, 0x26?, 0xc000283540?})
        /home/danielmichaels/go/pkg/mod/goa.design/goa/[email protected]/codegen/generator/example.go:24 +0x9c
goa.design/goa/v3/codegen/generator.Generate({0x7fffe792e31b, 0x1}, {0x9a9d8a, 0x7})
        /home/danielmichaels/go/pkg/mod/goa.design/goa/[email protected]/codegen/generator/generate.go:81 +0x77d
main.main()
        /home/danielmichaels/Code/github/xxx/server/goa255681297/main.go:59 +0x35c

Both 3.15 versions hit this issue.

Downgrading to v3.14.6 I was able to re-generate the examples.

from goa.

raphael avatar raphael commented on June 17, 2024

Thank you both, closing the issue.

from goa.

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.