René's URL Explorer Experiment


Title: Stylesheet from (npm) linked package not loaded correctly · Issue #3500 · angular/angular-cli · GitHub

Open Graph Title: Stylesheet from (npm) linked package not loaded correctly · Issue #3500 · angular/angular-cli

X Title: Stylesheet from (npm) linked package not loaded correctly · Issue #3500 · angular/angular-cli

Description: OS Tested on both Windows 7 and Linux (Fedora 24) Version $ ng --version angular-cli: 1.0.0-beta.22-1 node: 4.6.1 os: linux x64 The app was created using CLI. Repro steps Install a package containing a stylesheet (say bootstrap-sass, act...

Open Graph Description: OS Tested on both Windows 7 and Linux (Fedora 24) Version $ ng --version angular-cli: 1.0.0-beta.22-1 node: 4.6.1 os: linux x64 The app was created using CLI. Repro steps Install a package containi...

X Description: OS Tested on both Windows 7 and Linux (Fedora 24) Version $ ng --version angular-cli: 1.0.0-beta.22-1 node: 4.6.1 os: linux x64 The app was created using CLI. Repro steps Install a package containi...

Opengraph URL: https://github.com/angular/angular-cli/issues/3500

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stylesheet from (npm) linked package not loaded correctly","articleBody":"### OS\r\nTested on both Windows 7 and Linux (Fedora 24)\r\n\r\n### Version\r\n```\r\n$ ng --version\r\nangular-cli: 1.0.0-beta.22-1\r\nnode: 4.6.1\r\nos: linux x64\r\n```\r\nThe app was created using CLI.\r\n\r\n### Repro steps\r\n1. Install a package containing a stylesheet (say bootstrap-sass, actually any package will do) globally via npm.\r\n2. git clone https://github.com/twbs/bootstrap-sass.git into a working directory, cd to that working directory and perform ```npm link``` command.\r\n3. ng new project in another separate directory, cd to the newly create project directory and perform ```npm link bootstrap-sass```. This will create a ```bootstrap-sass``` symlink in node_modules pointing to the local git repository.\r\n4. Modify angular-cli.json to reference the stylesheet in the linked package.\r\n```\r\n      \"styles\": [\r\n        \"../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss\",\r\n        \"styles.scss\"\r\n      ],\r\n```\r\n5. ```ng serve``` and observe that styles from bootstrap is not exported correctly in the index page.\r\n6. ```ng build``` and observe that the generated styles.bundle.js does not do \"exports.push()\".\r\n\r\n### The log given by the failure\r\nThere was no error log, webpack declared the \"bundle is now valid\".\r\n\r\n### Mention any other details that might be useful\r\nUsing normal npm install approach does not have this issue. i.e. after ```npm unlink bootstrap-sass && npm install bootstrap-sass``` then all is fine.\r\n\r\nUse case: I have a forked ```gentelella``` repository locally to fix some of the issues I found, so I cannot just simply npm install it in my project. Using npm link approach as I outlined above should  work. It seems angular-cli (or webpack, I am not sure) is being confused by symlink. As a temporary workaround, I replace the stylesheet reference in the angular-cli.json with an absolute path to the stylesheet file in the local git repo.","author":{"url":"https://github.com/weitjong","@type":"Person","name":"weitjong"},"datePublished":"2016-12-09T18:26:16Z","url":"https://github.com/angular/angular-cli/issues/3500"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1787a313-c9dc-365c-301c-643c5a24748a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA4EC:2F671E:2EB2A5D:3D5D913:6B057193
html-safe-noncedf563e22f43e3eaacdd152417d0c6a6f9f2821a57d1ad6b0181473b9d11e0c4b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEVDOjJGNjcxRToyRUIyQTVEOjNENUQ5MTM6NkIwNTcxOTMiLCJ2aXNpdG9yX2lkIjoiNTI1MjczMzIzNjU5MzEyNzgyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0d05fa21c81177486c5f3bbc81ff5a648ac8067badb39d3c5f7e4be1115e83ee
hovercard-subject-tagissue:194664243
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3500/issue_layout
twitter:imagehttps://opengraph.githubassets.com/acb5b08902b1686c8c1bd095dad69753800fc2a6fa050c888301c515740d3255/angular/angular-cli/issues/3500
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/acb5b08902b1686c8c1bd095dad69753800fc2a6fa050c888301c515740d3255/angular/angular-cli/issues/3500
og:image:altOS Tested on both Windows 7 and Linux (Fedora 24) Version $ ng --version angular-cli: 1.0.0-beta.22-1 node: 4.6.1 os: linux x64 The app was created using CLI. Repro steps Install a package containi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweitjong
hostnamegithub.com
expected-hostnamegithub.com
None9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef089e689ad324655ac44bf6cdbc04d976105b374
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/3500#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F3500
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F3500
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/3500
Reloadhttps://github.com/angular/angular-cli/issues/3500
Reloadhttps://github.com/angular/angular-cli/issues/3500
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests24 (24)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3500
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3500
#19713https://github.com/angular/angular-cli/pull/19713
Stylesheet from (npm) linked package not loaded correctlyhttps://github.com/angular/angular-cli/issues/3500#top
#19713https://github.com/angular/angular-cli/pull/19713
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular-cli/milestone/12
https://github.com/weitjong
weitjonghttps://github.com/weitjong
on Dec 9, 2016https://github.com/angular/angular-cli/issues/3500#issue-194664243
https://github.com/twbs/bootstrap-sass.githttps://github.com/twbs/bootstrap-sass.git
Nexthttps://github.com/angular/angular-cli/issues/3500?timeline_page=1
https://github.com/clydin
clydinhttps://github.com/clydin
on Dec 9, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266127508
https://github.com/weitjong
weitjonghttps://github.com/weitjong
on Dec 10, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266176145
@clydinhttps://github.com/clydin
https://github.com/weitjong
weitjonghttps://github.com/weitjong
on Dec 10, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266205322
filipesilvahttps://github.com/filipesilva
command: buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22command%3A%20build%22
P5https://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P5%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Dec 12, 2016https://github.com/angular/angular-cli/issues/3500#event-890472673
filipesilvahttps://github.com/filipesilva
on Dec 12, 2016https://github.com/angular/angular-cli/issues/3500#event-890472703
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 13, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266722733
https://github.com/zackarychapple
zackarychapplehttps://github.com/zackarychapple
on Dec 13, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266770870
@serhiisolhttps://github.com/serhiisol
#3542https://github.com/angular/angular-cli/issues/3542
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 13, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-266776294
@zackarychapplehttps://github.com/zackarychapple
https://github.com/zackarychapple/bootstrap-ng2/blob/master/angular-cli.jsonhttps://github.com/zackarychapple/bootstrap-ng2/blob/master/angular-cli.json
https://github.com/zackarychapple
zackarychapplehttps://github.com/zackarychapple
on Dec 14, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-267014915
@serhiisolhttps://github.com/serhiisol
https://github.com/zackarychapple/bootstrap-ng2/blob/master/src/styles.scsshttps://github.com/zackarychapple/bootstrap-ng2/blob/master/src/styles.scss
https://github.com/serhiisol
serhiisolhttps://github.com/serhiisol
on Dec 14, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-267023913
@zackarychapplehttps://github.com/zackarychapple
https://github.com/zackarychapple
zackarychapplehttps://github.com/zackarychapple
on Dec 14, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-267152874
@serhiisolhttps://github.com/serhiisol
https://github.com/zackarychapple
zackarychapplehttps://github.com/zackarychapple
on Dec 16, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-267553360
@hanslhttps://github.com/hansl
https://github.com/jtangelder/sass-loaderhttps://github.com/jtangelder/sass-loader
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Dec 22, 2016https://github.com/angular/angular-cli/issues/3500#issuecomment-268854394
#3401https://github.com/angular/angular-cli/issues/3401
https://github.com/Mayocampo
Mayocampohttps://github.com/Mayocampo
on Oct 31, 2020https://github.com/angular/angular-cli/issues/3500#issuecomment-719972472
alan-agius4https://github.com/alan-agius4
freq1: lowhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669123
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular-cli/milestone/12
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669192
alan-agius4https://github.com/alan-agius4
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669292
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669377
alan-agius4https://github.com/alan-agius4
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669756
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
Backloghttps://github.com/angular/angular-cli/milestone/12
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168669835
alan-agius4https://github.com/alan-agius4
help wantedhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
on Jan 5, 2021https://github.com/angular/angular-cli/issues/3500#event-4168692342
filipesilvahttps://github.com/filipesilva
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#19713https://github.com/angular/angular-cli/pull/19713
on Jan 6, 2021https://github.com/angular/angular-cli/issues/3500#event-4174922471
filipesilvahttps://github.com/filipesilva
on Jan 6, 2021https://github.com/angular/angular-cli/issues/3500#event-4174922575
fix(@angular-devkit/build-angular): correctly resolve symlinked globa…https://github.com/angular/angular-cli/commit/1df8a3d09d50d662a6a862996f0a87c7aac03590
https://docs.github.com/articles/closing-issues-via-commit-messages
1df8a3dhttps://github.com/angular/angular-cli/commit/1df8a3d09d50d662a6a862996f0a87c7aac03590
fix(@angular-devkit/build-angular): correctly resolve symlinked globa…https://github.com/angular/angular-cli/commit/0b96aa4052373694d02f23d5ffb4ba51b43a4a4b
https://docs.github.com/articles/closing-issues-via-commit-messages
0b96aa4https://github.com/angular/angular-cli/commit/0b96aa4052373694d02f23d5ffb4ba51b43a4a4b
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Feb 6, 2021https://github.com/angular/angular-cli/issues/3500#issuecomment-774422676
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Feb 6, 2021https://github.com/angular/angular-cli/issues/3500#event-4298884445
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/3500
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3500
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular-cli/milestone/12
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.