Unhandled Navigation Error: SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL

This issue has been created since 2022-09-14.

Which @angular/* package(s) are the source of the bug?

platform-browser-dynamic, platform-browser, router

Is this a regression?

Yes

Description

Actually we want to serve our application from cdn all bundles and assets(images , icons , fonts etc.) but the problem is when we are using --deploy-url flag during build it only fetch bundle files from cdn still all assets are coming from server but when use --base-href flag it thrown these error and application is not getting loaded and we didn't want to use hash strategy for our application is there any way we can server all assets from cdn .

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

Unhandled Navigation Error: SecurityError: Failed to execute 'replaceState' on 'History': A history state object with URL

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

JoostK wrote this answer on 2022-09-14

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.

If the problem still exists in your application, please open a new issue and follow the instructions in the issue template.

More Details About Repo
Owner Name angular
Repo Name angular
Full Name angular/angular
Language TypeScript
Created Date 2014-09-18
Updated Date 2022-10-04
Star Count 84139
Watcher Count 3064
Fork Count 22243
Issue Count 1206

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Add --optional flag to `choose` command 2 2022-08-02 2022-09-27
`merge` uses a lot of memory 3 2021-12-30 2022-07-12
Default heartbeat timeout is too high 7 2021-10-07 2022-09-27
Error in rule repair 0 2021-11-23 2022-09-27
A place for basic questions 1 2021-05-26 2022-08-22
Selects with more than 4 explictly typed options always return string values in v-model. 2 2022-08-30 2022-09-30
Page/Site Fields got buggy in >= 1.5.4 2 2022-05-22 2022-09-29
InvalidPipeArgument Error in pagination-controls 0 2022-07-22 2022-09-03
[RR Request]: RxDB 13.0.0 0 2022-09-15 2022-10-04
[RR Request]: lazytrivy v1.0.0 0 2022-09-21 2022-10-04
[Release Radar Request] Planby - Schedule / Timeline / Electronic Program Guide for React 0 2022-09-12 2022-10-04
Exporting data generates unknown fields 0 2022-05-16 2022-09-13
[Document] Several options for the LAMMPS module have not been documented 0 2022-07-30 2022-09-18
Failed opening. Most probably a sandbox issue. Trying something different. 6 2015-07-10 2022-09-18
'requests' has no attribute 'ReadTimeout' ERROR 2 2022-08-05 2022-09-11
Image in README is broken on dark Github 0 2021-03-27 2022-09-15
Feature request: Add a way to handle errors 2 2021-10-18 2022-09-08
[BUG]: 'numpy.ndarray' object has no attribute 'get_color' while plotting NaiveSessional() forecast 16 2022-06-30 2022-10-01
Interpreter: incorrect class after `as` for generic class inheriting from concrete class 3 2022-07-21 2022-08-30
Never-ending Python selection dialog 0 2021-11-06 2022-09-18
Badly placed parenthesis in conditional return causes crash 2 2022-07-13 2022-08-26
Failed to decode device profile due to unaligned ReadWrite permission 0 2021-10-28 2022-09-18
apt-key add should not be used 3 2020-04-18 2022-09-14
non-`turbot` plugin installs should show link to documentation 0 2021-11-05 2022-07-17
App Bar and Answer Buttons do not hide themselves, after manually making them visible in fullscreen mode. 14 2021-09-13 2022-01-01
Double Dragon Resets to Title Screen 1 2021-08-23 2022-07-29
Execution failed for task ':olm-sdk:ndkBuildNativeDebug' 3 2021-05-12 2022-09-18
Tracking issue: language support requests 45 2022-01-17 2022-10-03
localhost and Replica Sets not able to connect 5 2021-09-11 2022-10-03
BreakMeshByBlock connectivity 11 2022-05-27 2022-10-04
DialogicSharp.cs(52,12): error CS1501: No overload for method 'Start' takes 5 arguments 2 2021-12-01 2022-09-17
can't select text in block of code - block gets dragged 14 2021-09-08 2022-08-14
Failed to resolve hostname and check a server's availability error 4 2022-04-28 2022-09-28
Keptn GitOps support for ArgoCD 0 2022-04-28 2022-04-26
IS25LP016D SPI NOR FLASH PROBLEM 2 2021-12-17 2022-10-02
Xcode 12.5&iOS 14.5.1 with UDP access got: Error Domain=NSPOSIXErrorDomain Code=65 "No route to host" 4 2021-05-22 2022-09-24
Crash on iOS 14 and newer [GCDAsyncSocket completeCurrentWrite]_block_invoke 0 2021-08-06 2022-09-09
테스트 - 한번 올려보고 싶습니다. 1 2021-07-26 2021-12-29
Question about html escaping 14 2015-02-19 2022-09-22
Free-floating MAVLink Inspector window freezes and crashes when Select Tool menu is used 0 2022-04-28 2022-09-29
Hotkey to change sound volume is very sensitive 2 2021-12-30 2022-10-01
Dubbo Admin provides service mock ability 3 2021-05-17 2022-09-16
Notifications from channels should not be treated as Communication Notifications 0 2021-11-30 2022-09-05
ipfs.name.publish not working 2 2022-02-22 2022-08-31
[BUG]子模块下快速调试后,点击另存为新用例,用例保存在默认模块,而不是对应模块 2 2021-09-09 2022-08-26
page-numbering-start-at: cover does not work 7 2021-11-18 2022-08-28
Unable to start debugging. GDB exited unexpectedly. 4 2021-11-19 2022-10-01
How to use adxl_washer 4 2022-04-30 2022-09-13
Replace aspect ratio options with min aspect ratios 6 2022-04-07 2022-10-01
Production - [Alerting] On-Prem Machines Heartbeating By Queue alert 1 2022-04-28 2022-09-14