-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Uncaught SyntaxError: Unexpected token < #2708
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
Comments
What are the steps you take to run your app? |
@Awk34 I'm using the configurations above, I've already started my mongo db engine, and i use |
@Awk34 a small hint, sometimes it works with |
Are you sure you are using 4.1.x and not 5.x.x? #2711 has the same Problem for 5.0.0-rc1. Check https://angular-fullstack.github.io/get-started/running/ It is |
@albert-92 you mean it's |
@albert-92 oh ok I think that explains it, I'm using |
Exactly |
I also have this problem. I am running |
I think the problem is we're pointing our browsers to port 9000 but the full webpack/gulp magic is happening at 8080, the output of the |
@koraysels make sure you are using |
what do you mean ? I want angular fullstack with angular 2+ .. It is working if i go to port 8080 instead of 9000. so that's a win! now I only need to figure out how to get the 'client' working in a docker container.. 'server' is working but 'client' does nothing :( |
I appreciate the comments. I can only improve the project with either direct contributions or specific comments I can take action on. There's a super-old PR I made involving Docker: https://github.com/angular-fullstack/generator-angular-fullstack/pull/2290/files . I plan on re-doing this in the future, so the PR isn't quite up-to-par, but it might give you some more info @koraysels |
My 'npm run start:client' runs fine but 'npm run start:server' causes this "Uncaught SyntaxError: Unexpected token <". I am not understanding what's the problem?
|
@malkyfaith are you opening your browser to http://localhost:8080? |
@Awk34 I am running two different power shells to access client on 8080 and server on 9000. |
I get
Uncaught SyntaxError: Unexpected token <
in the browser after the initial launch of the generator and stuck atLoading...
The text was updated successfully, but these errors were encountered: