Skip to content

Problems with webpack build #4269

@dazzbourgh

Description

@dazzbourgh

OS
Windows 10

Versions.
angular-cli: 1.0.0-beta.21
node: 6.9.4
os: win32 x64

Repro steps.
I am using angular-cli with built-in webpack and encounter the following problem: if I use ng serve --host 0.0.0.0 --port 3000 everything works fine, but when I try to build the app (no matter developer mode or production) with ng build and then put it into my nginx, not a single route works and every attempt of browser to download image, which is used on start page, ends with 404 error. Am I doing something wrong?

The log given by the failure.
Either gives 404 on request to get image or redirects to "page not found" if any route activated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions