Skip to content

Not working with a new Angular V17 project #177

@GreenFlag31

Description

@GreenFlag31

Hi,

Try to deploy, but not working in a new V17 project.
"angular-cli-ghpages": "^1.0.7",

I got the following:
image

I believe this is because the structure of the dist folder has changed in new version (with SSR by default):
image

In newer version, a 'browser' and a 'server' folder appear.

I've tried :
ng deploy --build-target=dist/modal-library/browser ...
but got back: Invalid target string

Could you fix this quickly ? If not, I will just buy a domain name.

Update: found a solution with manually changing dist folder then ng deploy --no-build --base-href=...

Thank you.

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