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

deploy error - couldnt find app.jsx #2

Open
ghost opened this issue Dec 28, 2017 · 2 comments
Open

deploy error - couldnt find app.jsx #2

ghost opened this issue Dec 28, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 28, 2017

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)
@grisha
Copy link
Owner

grisha commented Dec 28, 2017

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.

@AdamIsrael
Copy link

@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.

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