Title: Unreferenced files being picked up in compilation · Issue #87 · NativeScript/nativescript-dev-sass · GitHub
Open Graph Title: Unreferenced files being picked up in compilation · Issue #87 · NativeScript/nativescript-dev-sass
X Title: Unreferenced files being picked up in compilation · Issue #87 · NativeScript/nativescript-dev-sass
Description: Files found outside of my Nativescript application are being picked up by the sass compiler. It appears it's finding my base assets directory (outside of my Nativescript application and not something I want compiled), and trying to compi...
Open Graph Description: Files found outside of my Nativescript application are being picked up by the sass compiler. It appears it's finding my base assets directory (outside of my Nativescript application and not somethi...
X Description: Files found outside of my Nativescript application are being picked up by the sass compiler. It appears it's finding my base assets directory (outside of my Nativescript application and not som...
Opengraph URL: https://github.com/NativeScript/nativescript-dev-sass/issues/87
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unreferenced files being picked up in compilation","articleBody":"Files found outside of my Nativescript application are being picked up by the sass compiler. It appears it's finding my base `assets` directory (outside of my Nativescript application and not something I want compiled), and trying to compile one of the files there by itself and errors due to having no variable definition. This stops the compilation of my Nativescript sass files.\r\n\r\nTo perhaps make things a little clearer, my folder structure looks like so:\r\n\r\n\r\n\r\nI am executing `tsn run ios --syncAllFiles` within `mobile`, but the compiler grabs things from `assets` as seen above.\r\n\r\nThe files within the `assets` directory are not referenced anywhere in my Nativescript application. The only defined scss files here are as follows:\r\n\r\n\r\n\r\nThe error I receive still points towards my `assets` directory:\r\n\r\n```\r\nFound peer node-sass\r\nError: Undefined variable: \"$color-link\".\r\n on line 4 of app/assets/sass/components/buttons.scss\r\n>> color: $color-link;\r\n\r\n ---------^\r\n\r\nSASS compiler failed with exit code 1\r\n```\r\n\r\n### Which platform(s) does your issue occur on?\r\nI have seen this happen on the IOS emulator, but issue is persistent across both emulated environments.\r\n\r\n### Please, provide the following version numbers that your issue occurs with:\r\n\r\n- CLI: 4.2.2\r\n- Cross-platform modules: 4.1.1\r\n- Runtime(s): 4.1.1\r\n- Plugin(s): N/A","author":{"url":"https://github.com/Gitelaus","@type":"Person","name":"Gitelaus"},"datePublished":"2018-09-03T14:10:06Z","url":"https://github.com/NativeScript/nativescript-dev-sass/issues/87"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0a0e6a5b-60e8-737a-af02-665c1f0cf013 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C662:2D40DE:10D9BAA:15626DB:6B0152F3 |
| html-safe-nonce | cf1fbc64fc347fe19d757bdeb4b4a381ad219e702e2d46356a502fcceb87f0ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjYyOjJENDBERToxMEQ5QkFBOjE1NjI2REI6NkIwMTUyRjMiLCJ2aXNpdG9yX2lkIjoiNzc5NDkzMjQ4MzY5ODU0NTM5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 258b6a218cb048ac3914fa7cd5c6403b6f294f40a03ccdd5da517b934e68c2e3 |
| hovercard-subject-tag | issue:356521047 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-dev-sass/87/issue_layout |
| twitter:image | https://opengraph.githubassets.com/689ff8464e6b765834fe6233ae63e084712314e37111e4f0bf6f7ea48669c758/NativeScript/nativescript-dev-sass/issues/87 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/689ff8464e6b765834fe6233ae63e084712314e37111e4f0bf6f7ea48669c758/NativeScript/nativescript-dev-sass/issues/87 |
| og:image:alt | Files found outside of my Nativescript application are being picked up by the sass compiler. It appears it's finding my base assets directory (outside of my Nativescript application and not somethi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Gitelaus |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-dev-sass git https://github.com/NativeScript/nativescript-dev-sass.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 53878179 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-dev-sass |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 53878179 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-dev-sass |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width