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

github-pages:deploy, baseHref should be case-sensitive #3773

Closed
icepeng opened this issue Dec 29, 2016 · 2 comments
Closed

github-pages:deploy, baseHref should be case-sensitive #3773

icepeng opened this issue Dec 29, 2016 · 2 comments
Assignees
Labels
needs: investigation Requires some digging to determine if action is needed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@icepeng
Copy link

icepeng commented Dec 29, 2016

Please provide us with the following information:

OS?

Windows 10, Ubuntu 16.04.1 LTS

Versions.

angular-cli: 1.0.0-beta.24
node: 6.9.2
os: linux x64
@angular/common: 2.4.1
@angular/compiler: 2.4.1
@angular/core: 2.4.1
@angular/forms: 2.4.1
@angular/http: 2.4.1
@angular/material: 2.0.0-beta.1
@angular/platform-browser: 2.4.1
@angular/platform-browser-dynamic: 2.4.1
@angular/router: 3.4.1
@angular/comdpiler-cli: 2.4.1

Repro steps.

ng new SWPenguin
(Work on project)
ng github-pages:deploy

The log given by the failure.

https://icepeng.github.io/swpenguin/main.4e5996aaa2ffa03b9c5b.bundle.js Failed to load resource: the server responded with a status of 404 (Not Found)
https://icepeng.github.io/swpenguin/styles.a6c71221f2dfc2c6c594.bundle.css Failed to load resource: the server responded with a status of 404 (Not Found)
https://icepeng.github.io/swpenguin/inline.8030da0a7ffa279deb05.bundle.js Failed to load resource: the server responded with a status of 404 (Not Found)
https://icepeng.github.io/swpenguin/main.4e5996aaa2ffa03b9c5b.bundle.js Failed to load resource: the server responded with a status of 404 (Not Found)
https://icepeng.github.io/swpenguin/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
https://icepeng.github.io/swpenguin/styles.a6c71221f2dfc2c6c594.bundle.css Failed to load resource: the server responded with a status of 404 (Not Found

)

Mention any other details that might be useful.

const projectName = this.project.pkg.name;

I found that this line has a problem. package.json generated by ng new command would be lowercase. But if project name has uppercase letters, a problem occurs.


Thanks! We'll be in touch soon.

@hansl hansl added needs: investigation Requires some digging to determine if action is needed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent labels Dec 30, 2016
@filipesilva
Copy link
Contributor

Dupe of #3146

@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
needs: investigation Requires some digging to determine if action is needed P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

No branches or pull requests

3 participants