Skip to content
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

npm run build doesn't generate html #20

Closed
fschoenfeldt opened this issue Feb 6, 2022 · 1 comment
Closed

npm run build doesn't generate html #20

fschoenfeldt opened this issue Feb 6, 2022 · 1 comment

Comments

@fschoenfeldt
Copy link

After working my way around #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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants