Skip to content

ng github-pages:deploy. Command does not work out of the box.  #4277

Closed

Description

@NikiforovAll

Description

I tried to publish angular 2 project and encountered that bundled files are not loaded. The project is in a sub-folder and the base URL is specified manually (e.g base href=/[repository-name]/[sub-folder] ). Is there way to customize how do I refer project dependencies so I can host angular project entirely on gh-pages without manually changing index.html?

Thanks!

OS?

Release: 16.04

Versions.

angular-cli: 1.0.0-beta.26

Repro steps.

ng github-pages:deploy

The log given by the failure.

Request: https://nikiforovall.github.io/IMEMium/imem/
Log:
nikiforovall.github.io/:13 GET https://nikiforovall.github.io/imem/styles.bundle.css
nikiforovall.github.io/:16 GET https://nikiforovall.github.io/imem/scripts.bundle.js
nikiforovall.github.io/:16 GET https://nikiforovall.github.io/imem/inline.bundle.js
nikiforovall.github.io/:16 GET https://nikiforovall.github.io/imem/main.bundle.js
nikiforovall.github.io/:16 GET https://nikiforovall.github.io/imem/scripts.bundle.js
nikiforovall.github.io/:16 GET https://nikiforovall.github.io/imem/main.bundle.js

Activity

  1. filipesilva commented on Feb 3, 2017

    @filipesilva
    Contributor

    Closed via #4385.

  2. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  3. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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