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
"Unexpected token <" when loading socket.io.js locally #839
Comments
src="js/socket.io.js" |
It has to be |
I get the same error using this html file:
What am I doing wrong? |
it works when I use:
Wo what is the correct url? |
Calling socket.io.js locally, it worked when I use browserify to compile the correct required files. Another way is use the lib inside socket.io-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I load the client library as follows:
<script src="js/socket.io.js"></script>I get the above error.
It points to line 4 in the file, that starts with:
I already have defined this line earlier, could that be the problem?
Richard
The text was updated successfully, but these errors were encountered: