Comments (11)
Sorry, I don't understand the question. Can you be more specific?
On Thu, 30 Apr 2015 08:35 Alex DiLiberto [email protected] wrote:
If I just wanted to use scss for my addon testing directory
tests/dummy/app/styles/app.scss you can not currently do this as of the
beta.6 release.Thoughts?
—
Reply to this email directly or view it on GitHub
#52.
from ember-cli-sass.
@aexmachina So here's an example. I create a new addon and I ember install ember-cli-sass
. Now, in my newly created addon, the only thing that I really want to use the sass for, is to write my dummy test app (in the tests/dummy
directory) and style it using the file tests/dummy/app/styles/app.scss
. The important thing here is that I don't need or want my addon to utilize an app/styles/app.scss
file...this should not even exist for my addon because it doesn't need it. This is a legitimate use case.
Starting with release beta.6
I can no longer do this workflow without adding a empty/dummy app/styles/app.scss
file because ember build
or ember serve
will immediately throw an error and complain.
At a quick look, I believe this commit introduces the issue but I haven't really debugged enough to know for sure 3022fa1
from ember-cli-sass.
Hi @alexdiliberto, thanks for the details. I can't reproduce this behaviour, I have an addon and have added ember-cli-sass as a devDependency of the addon and don't get this error. Are you able to push something that illustrates the problem?
from ember-cli-sass.
@aexmachina Using "ember-cli-sass": "^4.0.0-beta.7"
Creating new project
npm install --save-dev ember-cli-sass
ember b
error
alex@AlexBookPro: ~/temp/trash-proj on master [!]
$ ember v
version: 0.2.3
node: 0.12.2
npm: 2.7.6
alex@AlexBookPro: ~/temp/trash-proj on master [!]
$ ember b
version: 0.2.3
Build failed.
File not found: /app/styles/app.sass
in any of the following include paths:
/Users/alex/temp/trash-proj/tmp/tree_merger-tmp_dest_dir-kJk5nw8z.tmp
Error: File not found: /app/styles/app.sass
in any of the following include paths:
/Users/alex/temp/trash-proj/tmp/tree_merger-tmp_dest_dir-kJk5nw8z.tmp
at Object.findFileSync (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/include-path-searcher/index.js:12:9)
at SassCompiler.<anonymous> (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/index.js:48:33)
at lib$rsvp$$internal$$initializePromise (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:537:9)
at new lib$rsvp$promise$$Promise (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:850:9)
at SassCompiler.updateCache (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/index.js:39:10)
at /Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/broccoli-caching-writer/index.js:96:34
at lib$rsvp$$internal$$tryCatch (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:489:16)
at lib$rsvp$$internal$$invokeCallback (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:501:17)
at lib$rsvp$$internal$$publish (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:472:11)
at lib$rsvp$asap$$flush (/Users/alex/temp/trash-proj/node_modules/ember-cli-sass/node_modules/broccoli-sass-source-maps/node_modules/rsvp/dist/rsvp.js:1290:9)
from ember-cli-sass.
from ember-cli-sass.
👍
from ember-cli-sass.
Wait, now it doesn't generate dummy.css
. Don't have time to look into it tonight, I'll check tomorrow
from ember-cli-sass.
from ember-cli-sass.
I have an app.scss in my dummy file, with content in it, and I'm not getting a dummy.css anywhere either. Only vendor.css. Using 4.0.0-beta.8
from ember-cli-sass.
any updates on this?
from ember-cli-sass.
Yes this appears to be an issue with ember-cli, I'll create an issue over there.
from ember-cli-sass.
Related Issues (20)
- Exclusion Doesn't Work in passthrough
- Git tags missing
- feature request: import SCSS from another npm module HOT 4
- Default SASS implementation HOT 12
- 8.0.1 breaking app HOT 1
- Please provide a changelog HOT 3
- Up for adoption? HOT 12
- Bug: incorrect options handling causes broccoli-funnel error
- includePaths doesn't recognise node_modules in yarn workspace HOT 1
- Going from 10.0.0 to 10.0.1 breaks our build HOT 1
- SASS rebuilding time is very high HOT 2
- Update addon section
- [bug] sass funnel being rebuilt on files that are not (.scss|.css|.sass)
- What is correct way to use dependencies on both of addon and dummy app? HOT 1
- Reopening #133
- Production builds produce invalid CSS HOT 1
- broccoli sass source maps outdated HOT 4
- [QUESTION] Should the app add the scss from the addon too?
- Does not work with Embroider HOT 5
- Multiple css outputs after outputPaths is removed? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-cli-sass.