volatiletech / sqlboiler

Generate a Go ORM tailored to your database schema.
BSD 3-Clause "New" or "Revised" License
6.73k stars 544 forks source link

Executable file not found. #320

Closed vevsatechnologies closed 6 years ago

vevsatechnologies commented 6 years ago

If you're having a generation problem please answer these questions before submitting your issue. Thanks!

What version of SQLBoiler are you using (sqlboiler --version)?

shows: sqlboiler command not found.

If this happened at generation time what was the full SQLBoiler command you used to generate your models? (if not applicable leave blank)

go generate

If this happened at runtime what code produced the issue? (if not applicable leave blank)

What is the output of the command above with the -d flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)

Please provide a relevant database schema so we can replicate your issue (Provided you are comfortable sharing this)

Further information. What did you do, what did you expect?

aarondl commented 6 years ago

sqlboiler doesn't appear to be installed correctly (is $GOPATH/bin in your path?).

go generate is a dumb command that will attempt to run whatever you put in your go generate statement. If you can't run the same command in your terminal first successfully, there's no point to try go generate.

This isn't a very good bug report by the way since it's very difficult to understand what problem you're experiencing and what your expectations are.