Lazy Loading Error (File not found)

Hi,

i’m using the lazy loading feature of the latest ionic version. The problem is that every page that is opened with the nav controller is not displayed. Only the root page of the app is displayed correctly.

Further this problem exists only on devices or in the simulator, in the web browser everything works fine.

Example of navigating to a lazy loaded page:

this.nav.push(‘PlayerGroupsPage’);

The problem seems to be that the different javascript files for lazy modules (1.main.js, 2.main.js, etc.)
are not found because they are loaded from a different file path.

The main.js file and other resources are loaded this way:

When navigating to a lazy loaded page the javascript files are loaded from an other path and cannot be not found:

Thanks for any help in advance.