René's URL Explorer Experiment


Title: Module not found when using SASS with Webpack · Issue #90 · NativeScript/nativescript-dev-sass · GitHub

Open Graph Title: Module not found when using SASS with Webpack · Issue #90 · NativeScript/nativescript-dev-sass

X Title: Module not found when using SASS with Webpack · Issue #90 · NativeScript/nativescript-dev-sass

Description: Problem Description When using SASS in combination with webpack, the build fails because webpack won't find the compiled CSS files. The error will be something like the following: ERROR in ./item/item-detail.component.ts Module not found...

Open Graph Description: Problem Description When using SASS in combination with webpack, the build fails because webpack won't find the compiled CSS files. The error will be something like the following: ERROR in ./item/i...

X Description: Problem Description When using SASS in combination with webpack, the build fails because webpack won't find the compiled CSS files. The error will be something like the following: ERROR in ./it...

Opengraph URL: https://github.com/NativeScript/nativescript-dev-sass/issues/90

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module not found when using SASS with Webpack  ","articleBody":"### Problem Description\r\n\r\nWhen using SASS in combination with webpack, the build fails because webpack won't find the compiled CSS files. The error will be something like the following:\r\n\r\n```\r\nERROR in ./item/item-detail.component.ts\r\nModule not found: Error: Can't resolve './item-detail.css' in 'app/item'\r\n @ ./item/item-detail.component.ts 17:21-49\r\n @ ./app.module.ts\r\n @ ./main.ts\r\n```\r\n\r\nWhen building the app with webpack using e.g. `tns build ios --bundle` the SASS compilation is skipped (for whatever reason) - so I guess that's the reason behind the problem. \r\n\r\n### Which platform(s) does your issue occur on?\r\nSince it's a problem during the build, I guess this is secondary but: \r\n- Happens on both platforms  \r\n- Happens for emulator or device build.\r\n\r\n### Version numbers that the issue occurs with:\r\n\r\n- CLI:  4.2.2  \r\n- Cross-platform modules: 4.2.0 \r\n- Runtime(s):\r\n - iOS: 4.2.0\r\n - Android: 4.2.0\r\n - Plugin(s):  1.6.0\r\n\r\n### Recreate the issue  \r\nTechnically it's quite simple. When you create a new NativeScript project and setup webpack and SASS - the app won't (most likely) build. \r\n\r\nI have prepared a sample project to easily reproduce the problem, you can find that here: \r\nhttps://github.com/mikaelkalt/nativescript-angular-sass-webpack-sample\r\n \r\nThe following issue might be related to that one: \r\nhttps://github.com/NativeScript/nativescript-dev-webpack/issues/473\r\n","author":{"url":"https://github.com/mikaelkalt","@type":"Person","name":"mikaelkalt"},"datePublished":"2018-09-17T15:39:13Z","url":"https://github.com/NativeScript/nativescript-dev-sass/issues/90"}

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:0876b30a-5568-79c7-77ad-5a4acd8f022b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDFD6:34CAB:1B87ABD:231E00C:6B015A93
html-safe-nonceffbfaf0fda02ecb90b59a131d5b224ea3e3ad8c6689d8711e1d4b612faf1b25e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQ2OjM0Q0FCOjFCODdBQkQ6MjMxRTAwQzo2QjAxNUE5MyIsInZpc2l0b3JfaWQiOiI4MzcxODIyMDE5NzY2OTk5Njk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4272c629a202b7f3a8be9410c77172ed7321018688af9a436b814b53ca8795c8
hovercard-subject-tagissue:360927866
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/NativeScript/nativescript-dev-sass/90/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa467846c2c62db67df3013c23084e438fa1c3c3ba5e7a6dfee4939851b23258/NativeScript/nativescript-dev-sass/issues/90
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa467846c2c62db67df3013c23084e438fa1c3c3ba5e7a6dfee4939851b23258/NativeScript/nativescript-dev-sass/issues/90
og:image:altProblem Description When using SASS in combination with webpack, the build fails because webpack won't find the compiled CSS files. The error will be something like the following: ERROR in ./item/i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemikaelkalt
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-dev-sass git https://github.com/NativeScript/nativescript-dev-sass.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id53878179
octolytics-dimension-repository_nwoNativeScript/nativescript-dev-sass
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id53878179
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-dev-sass
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-dev-sass/issues/90#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-sass%2Fissues%2F90
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%2FNativeScript%2Fnativescript-dev-sass%2Fissues%2F90
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=NativeScript%2Fnativescript-dev-sass
Reloadhttps://github.com/NativeScript/nativescript-dev-sass/issues/90
Reloadhttps://github.com/NativeScript/nativescript-dev-sass/issues/90
Reloadhttps://github.com/NativeScript/nativescript-dev-sass/issues/90
NativeScripthttps://github.com/NativeScript
nativescript-dev-sasshttps://github.com/NativeScript/nativescript-dev-sass
Codehttps://github.com/NativeScript/nativescript-dev-sass
Issues9 (9)https://github.com/NativeScript/nativescript-dev-sass/issues
Pull requestshttps://github.com/NativeScript/nativescript-dev-sass/pulls
Actionshttps://github.com/NativeScript/nativescript-dev-sass/actions
Projectshttps://github.com/NativeScript/nativescript-dev-sass/projects
Security and qualityhttps://github.com/NativeScript/nativescript-dev-sass/security
Insightshttps://github.com/NativeScript/nativescript-dev-sass/insights
https://github.com/NativeScript/nativescript-dev-sass
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-dev-sass/issues/90
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-dev-sass/issues/90
Module not found when using SASS with Webpack https://github.com/NativeScript/nativescript-dev-sass/issues/90#top
https://github.com/mikaelkalt
mikaelkalthttps://github.com/mikaelkalt
on Sep 17, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issue-360927866
https://github.com/mikaelkalt/nativescript-angular-sass-webpack-samplehttps://github.com/mikaelkalt/nativescript-angular-sass-webpack-sample
NativeScript/nativescript-dev-webpack#473https://github.com/NativeScript/nativescript-dev-webpack/issues/473
https://github.com/joel-bach
joel-bachhttps://github.com/joel-bach
on Oct 19, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-431371531
nativescript-dev-sass/lib/before-prepare.jshttps://github.com/NativeScript/nativescript-dev-sass/blob/master/src/lib/before-prepare.js
https://github.com/Fatme
Fatmehttps://github.com/Fatme
on Oct 22, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-431775975
@mikaelkalthttps://github.com/mikaelkalt
@JoelFischhttps://github.com/JoelFisch
https://github.com/mikaelkalt/nativescript-angular-sass-webpack-sample/blob/master/app/item/item-detail.component.ts#L10https://github.com/mikaelkalt/nativescript-angular-sass-webpack-sample/blob/master/app/item/item-detail.component.ts#L10
https://github.com/joel-bach
joel-bachhttps://github.com/joel-bach
on Oct 22, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-431878101
@Fatmehttps://github.com/Fatme
@mikaelkalthttps://github.com/mikaelkalt
https://github.com/mikaelkalt
mikaelkalthttps://github.com/mikaelkalt
on Oct 22, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-431943239
@JoelFischhttps://github.com/JoelFisch
@Fatmehttps://github.com/Fatme
https://docs.nativescript.org/ui/theme#sass-usagehttps://docs.nativescript.org/ui/theme#sass-usage
mikaelkalthttps://github.com/mikaelkalt
completedhttps://github.com/NativeScript/nativescript-dev-sass/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 22, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#event-1918317847
https://github.com/Fatme
Fatmehttps://github.com/Fatme
on Oct 23, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-432113154
@mikaelkalthttps://github.com/mikaelkalt
https://github.com/Fatme
Fatmehttps://github.com/Fatme
on Oct 23, 2018https://github.com/NativeScript/nativescript-dev-sass/issues/90#issuecomment-432119035
@mikaelkalthttps://github.com/mikaelkalt
https://github.com/NativeScript/docs/pull/1405https://github.com/NativeScript/docs/pull/1405
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-dev-sass/issues/90
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-dev-sass/issues/90
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.