Open windowshopr opened 7 months ago
For further context, I've also tried to manually running the backend server with go run main.go --port 8085
, and then attempting to run the frontend server with npm run start
which results in a giant output of issues, and a browser window that all looks like the following:
Unless I'm missing something obvious here, the package just simply doesn't work on Windows.
Oh, and I forgot that the packages.json
needs to modify export
to set
at this line in order to work on Windows:
Downloading and running the prebuilt Windows binary results in the following error in browser:
Reviewing #97 here, it seems the filepath code was designed for Linux systems, resulting in the error. I wanted to implement the fix in the static.go file myself, so I downloaded the source code for the program, made the change, then ran the
make build
command from a PowerShell window, resulting in the below error:...which triggered me to think "oh duh, I forgot to
npm install
", so I ran that, which resulted in this next output:...so I follow the directions of using the
--force
flag, which gives me this output:Finally I try the
make build
command again:Same issue as before,
react-scripts
is not installed. After some digging online, the NOT ideal solution is to globally installreact-scripts
using the commandnpm i -g react-scripts@latest --force
followed by themake build
again:Something is off here, because now it seems it's sending me down a rabbit hole of installing all of the
packages.json
packages to a global scope, one at a time.npm install
install is not doing what it's supposed to.Can someone try following the documentation in a Windows 10 environment and let me know what I'm missing here?