Skip to content
This repository has been archived by the owner on Jan 26, 2020. It is now read-only.

Uncaught SyntaxError: Unexpected token < #20

Closed
vstepanyuk opened this issue Jul 4, 2018 · 4 comments
Closed

Uncaught SyntaxError: Unexpected token < #20

vstepanyuk opened this issue Jul 4, 2018 · 4 comments

Comments

@vstepanyuk
Copy link

Sometimes bundle.js contains src/App.js

@vstepanyuk
Copy link
Author

@alidcast
Copy link
Owner

alidcast commented Jul 4, 2018

I'm pretty sure this is related to #16 (which I've reopened). When there's an error with the client bundle, it'll result in this Uncaught SyntaxError: Unexpected token < error.

@Cosmicist
Copy link

Cosmicist commented Jul 4, 2018

🤔 not sure it's related to that one, I'm testing rogue (looking awesome btw!) and it seems to be that the bundle is being included like this: <script src="bundle.js" defer=""></script> so when you are in / it loads ok, but if you are in, say /foo, then it will try to load /foo/bundle.js which will actualy be the server-rendered component that handles the /foo uri.

@alidcast
Copy link
Owner

alidcast commented Jul 9, 2018

Rogue underwent some big changes lately. #36

Please try out new versions and feel free to open up new issue if problem still persists

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

No branches or pull requests

3 participants