HtheChemist / BitBurnerCentralManager

A prototype thread manager for BitBurner
MIT License
26 stars 12 forks source link

`npm run build` doesn't generate html #20

Closed fschoenfeldt closed 2 years ago

fschoenfeldt commented 2 years ago

After working my way around https://github.com/HtheChemist/BitBurnerCentralManager/issues/19, I managed to run npm build, I started my webserver:

➜  BitBurnerCentralManager git:(master) ✗ npm run webserver

> webserver
> node bin/webserver.js -p 9182 -d build --enable_cors

Node Webserver running at port 9182

But upon visiting http://localhost:9182/, I get this error in my browser:

Error: ENOENT: no such file or directory, open 'build/index.html'
HtheChemist commented 2 years ago

It is expected, the server only serve the .js file for wget.