forked from rakyll/drive
-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drive-gen doesn't work with modules (default in go 1.17) #1127
Comments
Additionally, if you run drive-gen after building with the variable set, it pulls down release 0.4.0 for some reason:
To avoid this, you must provide the variable when running drive-gen as well. |
I do note that drive-gen seems to populate an incorrect version string though?
0.4.0 is old news, so where is this 0.3.9.1 coming from? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment variable
GO111MODULE=off
must be set when running go for drive and drive-gen in order for this to work.Note that drive itself builds and runs fine without this (using modules), but drive-gen has hardcoded paths it seems and falls over if you try to use it after building this way. (initial chdir fails, and if you try to get clever and use symlinks, it fails with an exit status but no error text)
The text was updated successfully, but these errors were encountered: