René's URL Explorer Experiment


Title: Style with ~path is not resolved correctly · Issue #9166 · angular/angular-cli · GitHub

Open Graph Title: Style with ~path is not resolved correctly · Issue #9166 · angular/angular-cli

X Title: Style with ~path is not resolved correctly · Issue #9166 · angular/angular-cli

Description: Hi! I noticed that I cannot build my app properly on Windows, the problem seems to lie in ~ import in sass file (bootstrap specifically), the resolved path looks broken because it is doubled, take a look at the log I guess the problem wa...

Open Graph Description: Hi! I noticed that I cannot build my app properly on Windows, the problem seems to lie in ~ import in sass file (bootstrap specifically), the resolved path looks broken because it is doubled, take ...

X Description: Hi! I noticed that I cannot build my app properly on Windows, the problem seems to lie in ~ import in sass file (bootstrap specifically), the resolved path looks broken because it is doubled, take ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Style with ~path is not resolved correctly","articleBody":"Hi!\r\nI noticed that I cannot build my app properly on Windows, the problem seems to lie in ~ import in sass file (bootstrap specifically), the resolved path looks broken because it is doubled, take a look at the log\r\n\r\nI guess the problem was caused by this code https://github.com/angular/angular-cli/commit/9caa7ca#diff-aa06fda1fc53d1b1e6d1259f3cf4ca2d . \r\nThe resolved path for fonts becomes ``c:\\vhosts\\frontend-client\\src\\c:vhosts�rontend-clientnode_modules�ootstrap-sass\r\nssets�onts�ootstrapglyphicons-halflings-regular.eot``\r\n### Versions\r\n```\r\nAngular CLI: 1.6.3\r\nNode: 8.9.4\r\nOS: win32 x64\r\nAngular: 5.2.0\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cli: 1.6.2\r\n@angular-devkit/build-optimizer: 0.0.36\r\n@angular-devkit/core: 0.0.22\r\n@angular-devkit/schematics: 0.0.42\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.9.3\r\n@schematics/angular: 0.1.11\r\n@schematics/schematics: 0.0.11\r\ntypescript: 2.6.2\r\nwebpack: 3.10.0\r\n```\r\n\r\n### Repro steps\r\n1. install @angular/cli@1.6.3\r\n2. create new project with scss styles\r\n3. install bootstrap@3.3.7 and bootstrap-sass@3.3.7\r\n4. in src/styles.scss set `$icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/';` at the top\r\n5. then below add `@import \"~bootstrap-sass/assets/stylesheets/bootstrap\";`\r\n6. try to ng serve or ng build\r\n\r\n\r\n### Observed behavior\r\n```\r\nERROR in ./node_modules/css-loader?{\"sourceMap\":false,\"importLoaders\":1}!./node_modules/postcss-loader/lib?{\"ident\":\"postcss\",\"sourceMap\":false}!./node_modules/sass-loader/lib/loader.js?{\"sourceMap\":false,\"precision\":8,\"includePaths\":[]}!./src/styles.scss\r\nModule not found: Error: Can't resolve './c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot' in 'c:\\vhosts\\frontend-client\\src'\r\nresolve './c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot' in 'c:\\vhosts\\frontend-client\\src'\r\n  using description file: c:\\vhosts\\frontend-client\\package.json (relative path: ./src)\r\n    Field 'browser' doesn't contain a valid alias configuration\r\n  after using description file: c:\\vhosts\\frontend-client\\package.json (relative path: ./src)\r\n    using description file: c:\\vhosts\\frontend-client\\package.json (relative path: ./src/c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot)\r\n      no extension\r\n        Field 'browser' doesn't contain a valid alias configuration\r\n        c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot doesn't exist\r\n      .ts\r\n        Field 'browser' doesn't contain a valid alias configuration\r\n        c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot.ts doesn't exist\r\n      .js\r\n        Field 'browser' doesn't contain a valid alias configuration\r\n        c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot.js doesn't exist\r\n      as directory\r\n        c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot doesn't exist\r\n[c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot]\r\n[c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot.ts]\r\n[c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot.js]\r\n[c:\\vhosts\\frontend-client\\src\\c:vhosts\u000frontend-clientnode_modules\u000bootstrap-sass\r\nssets\u000fonts\u000bootstrapglyphicons-halflings-regular.eot]\r\n @ ./node_modules/css-loader?{\"sourceMap\":false,\"importLoaders\":1}!./node_modules/postcss-loader/lib?{\"ident\":\"postcss\",\"sourceMap\":false}!./node_modules/sass-loader/lib/loader.js?{\"sourceMap\":false,\"precision\":8,\"includePaths\":[]}!./src/styles.scss 7:4344-4479 7:4510-4645\r\n @ ./src/styles.scss\r\n @ multi ./src/styles.scss\r\n```\r\n\r\n\r\n### Desired behavior\r\nSuccessful build\r\n","author":{"url":"https://github.com/zaalbarxx","@type":"Person","name":"zaalbarxx"},"datePublished":"2018-01-11T13:20:13Z","url":"https://github.com/angular/angular-cli/issues/9166"}

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:e8a96c3d-bb05-bb45-cdfd-499dd638bd63
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC3F8:19E4BB:3CF12B4:4DAC7FD:6B0211CC
html-safe-nonce7e1eabf7916d5e7612973b2ac88eb0cd09d3513880fcd9402164ecfeda4ea53a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y4OjE5RTRCQjozQ0YxMkI0OjREQUM3RkQ6NkIwMjExQ0MiLCJ2aXNpdG9yX2lkIjoiOTIwODUxNDE4MzQwNTExMzgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb96faebc83d89b781b72538214b49dbe49c91a988207ae53f82a9a26951d28b8
hovercard-subject-tagissue:287783602
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/9166/issue_layout
twitter:imagehttps://opengraph.githubassets.com/59d84058957b4c0a8bb7ca9a4b560dddf4f9e48551dc0c0faeae427ed045c508/angular/angular-cli/issues/9166
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/59d84058957b4c0a8bb7ca9a4b560dddf4f9e48551dc0c0faeae427ed045c508/angular/angular-cli/issues/9166
og:image:altHi! I noticed that I cannot build my app properly on Windows, the problem seems to lie in ~ import in sass file (bootstrap specifically), the resolved path looks broken because it is doubled, take ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezaalbarxx
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/9166#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F9166
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%2F9166
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/9166
Reloadhttps://github.com/angular/angular-cli/issues/9166
Reloadhttps://github.com/angular/angular-cli/issues/9166
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 requests23 (23)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/9166
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/9166
Style with ~path is not resolved correctlyhttps://github.com/angular/angular-cli/issues/9166#top
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%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
https://github.com/zaalbarxx
zaalbarxxhttps://github.com/zaalbarxx
on Jan 11, 2018https://github.com/angular/angular-cli/issues/9166#issue-287783602
9caa7ca#diff-aa06fda1fc53d1b1e6d1259f3cf4ca2dhttps://github.com/angular/angular-cli/commit/9caa7ca#diff-aa06fda1fc53d1b1e6d1259f3cf4ca2d
clydinhttps://github.com/clydin
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#event-1420867448
clydinhttps://github.com/clydin
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#event-1420867816
https://github.com/jameslafferty
jameslaffertyhttps://github.com/jameslafferty
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357112498
angular/angular#20676https://github.com/angular/angular/issues/20676
https://github.com/cpboyd
cpboydhttps://github.com/cpboyd
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357122533
@jameslaffertyhttps://github.com/jameslafferty
https://github.com/jtsom
jtsomhttps://github.com/jtsom
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357124743
https://github.com/Artux-White
Artux-Whitehttps://github.com/Artux-White
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357136233
https://github.com/alvachien
alvachienhttps://github.com/alvachien
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357153073
https://github.com/pesoklp13
pesoklp13https://github.com/pesoklp13
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357180772
https://github.com/baggior
baggiorhttps://github.com/baggior
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357193988
https://github.com/LanderBeeuwsaert
LanderBeeuwsaerthttps://github.com/LanderBeeuwsaert
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357196757
https://github.com/dinerotah
dinerotahhttps://github.com/dinerotah
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357214649
@baggiorhttps://github.com/baggior
https://github.com/skiabox
skiaboxhttps://github.com/skiabox
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357231370
https://github.com/dinerotah
dinerotahhttps://github.com/dinerotah
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357234762
@skiaboxhttps://github.com/skiabox
@clydinhttps://github.com/clydin
#9181 (comment)https://github.com/angular/angular-cli/issues/9181#issuecomment-357223293
https://github.com/clydin
clydinhttps://github.com/clydin
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357249253
@cpboydhttps://github.com/cpboyd
https://github.com/jeremieflahaut
jeremieflahauthttps://github.com/jeremieflahaut
on Jan 12, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-357249490
…https://github.com/angular/angular-cli/issues/9166
@cpboydhttps://github.com/cpboyd
https://github.com/kylecordes
kylecordeshttps://github.com/kylecordes
on Jan 19, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-358825177
https://github.com/Markus-Ende
Markus-Endehttps://github.com/Markus-Ende
on Jan 26, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-360816849
https://github.com/Iverson
Iversonhttps://github.com/Iverson
on Feb 1, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-362313126
hanslhttps://github.com/hansl
clydinhttps://github.com/clydin
on Feb 6, 2018https://github.com/angular/angular-cli/issues/9166#event-1461003834
https://github.com/Iverson
Iversonhttps://github.com/Iverson
on Mar 21, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-374943481
@hanslhttps://github.com/hansl
https://github.com/clydin
clydinhttps://github.com/clydin
on Mar 21, 2018https://github.com/angular/angular-cli/issues/9166#issuecomment-374980556
@Iversonhttps://github.com/Iverson
clydinhttps://github.com/clydin
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 21, 2018https://github.com/angular/angular-cli/issues/9166#event-1533514451
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 8, 2019https://github.com/angular/angular-cli/issues/9166#issuecomment-529161012
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 8, 2019https://github.com/angular/angular-cli/issues/9166#event-2616501720
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/9166
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/9166
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%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
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

Viewport: width=device-width


URLs of crawlers that visited me.