gowebapp
gowebapp copied to clipboard
deploy error - couldnt find app.jsx
ailed to load resource: the server responded with a status of 404 (Not Found)
babel.min.js:24 Uncaught Error: Could not load http://localhost:3000/js/app.jsx
at XMLHttpRequest.n.onreadystatechange (babel.min.js:24)
The line responsible for serving app.jsx is here: https://github.com/grisha/gowebapp/blob/master/ui/ui.go#L26
I'd check what is going on there - e.g. what is the current directory when you run the app, does it have js as its sub-directory and is the app.jsx in it.
@le93us If you just want to test gowebapp, cd $GOPATH/src/github/grisha/gowebapp and then run gowebapp. That'll make sure it uses the content from this tutorial.