Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
NikiforovAll opened this issue Jan 29, 2017 · 2 comments
Closed

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

NikiforovAll opened this issue Jan 29, 2017 · 2 comments

Comments

@NikiforovAll
Copy link

NikiforovAll commented Jan 29, 2017

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

@filipesilva
Copy link
Contributor

Closed via #4385.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants