Giter Club home page Giter Club logo

Comments (11)

simonexmachina avatar simonexmachina commented on July 20, 2024

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.

alexdiliberto avatar alexdiliberto commented on July 20, 2024

@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.

simonexmachina avatar simonexmachina commented on July 20, 2024

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.

alexdiliberto avatar alexdiliberto commented on July 20, 2024

@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.

simonexmachina avatar simonexmachina commented on July 20, 2024

from ember-cli-sass.

alexdiliberto avatar alexdiliberto commented on July 20, 2024

👍

from ember-cli-sass.

alexdiliberto avatar alexdiliberto commented on July 20, 2024

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.

simonexmachina avatar simonexmachina commented on July 20, 2024

from ember-cli-sass.

MiracleBlue avatar MiracleBlue commented on July 20, 2024

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.

ahmed1490 avatar ahmed1490 commented on July 20, 2024

any updates on this?

from ember-cli-sass.

simonexmachina avatar simonexmachina commented on July 20, 2024

Yes this appears to be an issue with ember-cli, I'll create an issue over there.

from ember-cli-sass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.