angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Error updating browser Angular 2 app

Open juanfarBSU opened this issue 9 years ago • 8 comments

Please provide us with the following information:

OS?

os: linux x64 Ubuntu 16.04

Versions.

angular-cli: 1.0.0-beta.24 node: 7.2.0 npm: 3.10.9

Hi, I created a project in angular cli, but the problem is that when updating the browser is redirected to the root of the web and I must stay in the same url route.

Does anyone know what happens?

  1. My project runs in localhost/produccion.

  2. then I log in and go to localhost/produccion/reports/ balance.

  3. when I refresh the page it redirects to localhost/produccion again, and block the view

Thank you all!

juanfarBSU avatar Dec 30 '16 14:12 juanfarBSU

How do you mean, updating the browser?

baruchvlz avatar Dec 30 '16 18:12 baruchvlz

Going to need some more details here. Also repro steps if possible.

filipesilva avatar Dec 30 '16 21:12 filipesilva

thanks @baruchvlz sorry i mean refresh the page

juanfarBSU avatar Dec 30 '16 22:12 juanfarBSU

thanks @filipesilva, sorry I'm a new user, the problem is the following:

  1. My project runs in localhost/produccion.

  2. then I log in and go to localhost/produccion/reports/ balance.

  3. when I refresh the page it redirects to localhost/produccion again, and block the view

juanfarBSU avatar Dec 30 '16 22:12 juanfarBSU

That sounds related to your server. How are you serving the app?

filipesilva avatar Dec 30 '16 22:12 filipesilva

It runs on NG Live Development Server on http://localhost:4200

with the commans cli ng serve

juanfarBSU avatar Dec 30 '16 22:12 juanfarBSU

without answers

juanfarBSU avatar Jan 11 '17 16:01 juanfarBSU

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.