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

Issues with vanilla HttpErrorResponse #188

Open
erich5168 opened this issue Sep 25, 2018 · 0 comments
Open

Issues with vanilla HttpErrorResponse #188

erich5168 opened this issue Sep 25, 2018 · 0 comments

Comments

@erich5168
Copy link

erich5168 commented Sep 25, 2018

Possible problem with the current vanilla repo? I have downloaded the repo and tried to run it through my terminal mvn spring-boot:run -Dserver.port=9000 but I got SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse error.

I initially thought it was my angular that was running an old version so I upgraded to the following, but still having the same issue...

Angular: 6.1.8
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.8.3
@angular-devkit/build-angular     0.8.3
@angular-devkit/build-optimizer   0.8.3
@angular-devkit/build-webpack     0.8.3
@angular-devkit/core              0.8.3
@angular-devkit/schematics        0.8.3
@angular/cli                      6.2.3
@ngtools/webpack                  6.2.3
@schematics/angular               0.8.3
@schematics/update                0.8.3
rxjs                              6.2.2
typescript                        2.9.2
webpack                           4.19.1

With futher research I found that "Unexpected token < in JSON" is indicating that the return object is html and not JSON. Is anyone having the same problem?

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

1 participant