-
-
Notifications
You must be signed in to change notification settings - Fork 577
Buffalo fails to start/build/test on Windows #166
Comments
We have two existing issues regarding this and a PR to help with this. This error is usually due to node and npm missing on your system. Also ensure the npm webpack package installed. |
@bscott I have npm and node installed. Even after installing webpack globally just now via |
@marpaia I'm looking at the packages, seems there might be some Windows specific issues with the pathing.
That error catches my eye, I'll loop @markbates and @apaganobeleno to any ideas they might have but I think I feel some new PR's having to be created. |
@marpaia Regarding |
@bscott yeah, my $GOPATH is set to ~/go. With that error, the issue is that |
So there's two things going on here. Looks like There's also the the web pack path issue. @marpaia can confirm if you change Thanks. |
I've pushed up a PR #168, hopeful this fixes the web pack issue. I'll need more time to figure out why the build didn't clean up properly after itself. |
@markbates awesome! I can confirm that #168 fixes the webpack issue, which allows The only thing that still isn't working on Windows is
Note the following line:
Note that Thanks for looking into this @markbates! This is a cool project and I liked your GoTime episode :) |
Thanks! In the .buffalo.dev.yml file in your project you can change the name of the bin. Can you open an issue for that, so we can track it and fix it for all platforms? Thanks. |
Confirmed that adding |
Yes. Please open issue for that. Thanks. Make sure to reference this issue when you do. Thanks. |
Running the
buffalo dev
command on Windows on a fresh project returns the following cryptic error:The
buffalo build
command also fails, with a more potentially useful error:Also, when running
buffalo test
:buffalo_build_main.go
contains:I have an
assets
subdir and anactions
subdir, but noa
subdir.Let me know if I can help debug this if it's unusual behavior.
The text was updated successfully, but these errors were encountered: