question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: File not found: addon.sass

See original GitHub issue

I’m adding ember-freestyle to my project using instruction, but during building broccoli throws error related to addon.sass.. Without this package, the error doesn’t occur. I try to import styles in app.sass @import 'ember-freestyle' or add it to ember-cli-build like:

nodeAssets: {    
 "ember-freestyle": {
     srcDir: "addon/styles",
     import: ["addon.sass"]
  }
},

Error: error

Project dependencies:

"dependencies": {
    "cirilla": "1.0.5",
    "ember-cli-babel": "6.8.2",
    "ember-cli-htmlbars": "2.0.3",
    "ember-cli-htmlbars-inline-precompile": "1.0.2",
    "ember-cli-sass": "7.0.0",
    "ember-power-select": "1.9.6"
  },
  "devDependencies": {
    "@ac/addon-code-quality": "0.1.1",
    "@ac/eslint-config": "0.2.3",
    "babel-plugin-preval": "1.5.0",
    "broccoli-asset-rev": "2.6.0",
    "cross-env": "5.0.5",
    "ember-ajax": "3.0.0",
    "ember-cli": "2.15.1",
    "ember-cli-babel": "6.8.2",
    "ember-cli-dependency-checker": "1.3.0",
    "ember-cli-eslint": "4.2.0",
    "ember-cli-inject-live-reload": "1.7.0",
    "ember-cli-moment-shim": "^3.5.0",
    "ember-cli-qunit": "4.0.1",
    "ember-cli-sass-lint": "1.0.5",
    "ember-cli-shims": "1.1.0",
    "ember-cli-sri": "2.1.1",
    "ember-cli-template-lint": "0.7.3",
    "ember-cli-uglify": "1.2.0",
    "ember-cp-validations": "3.4.1",
    "ember-disable-prototype-extensions": "1.1.2",
    "ember-export-application-global": "2.0.0",
    "ember-file-upload": "2.1.1",
    "ember-load-initializers": "1.0.0",
    "ember-moment": "7.4.1",
    "ember-native-dom-helpers": "0.5.4",
    "ember-radio-button": "1.1.1",
    "ember-resolver": "4.5.0",
    "ember-source": "2.14.1",
    "ember-truth-helpers": "1.3.0",
    "loader.js": "4.6.0",
    "sass-lint": "1.10.2"
  },

@ac is a namespace to our internal registry.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
PoslinskiNetcommented, Nov 27, 2017

@chrislopresto maybe we could move to .css approach to avoid cross-extension node-sass issues? Would you merge such a PR if anyone would prepare one of these?

1reaction
PoslinskiNetcommented, Nov 21, 2017

@Biszkopt91 I think it is connected with https://github.com/aexmachina/ember-cli-sass/issues/163 … ember-freestyle has addon.scss, but the project supports *.sass (based on ember-cli-sass setting)

Read more comments on GitHub >

github_iconTop Results From Across the Web

File Not Found error when using postcss for sass compilation ...
I'm trying to use this addon for sass compilation instead of ember-cli-sass. I have it working in a simple project. Now I'm trying...
Read more >
Import scss file is not working inside storybook file
I'm using sb init to create the storybook file. Everything is working, all the addons loaded but only the style is not working....
Read more >
Managing Dependencies - Addons and Dependencies
When you're using dependencies that are not included in an addon, you will have to instruct Ember CLI to include your assets in...
Read more >
ember-cli-sass | Yarn - Package Manager
Open app.scss in Dev Tools (you can use ⌘P and search for "app.scss"); Right click in the Sources panel on the right of...
Read more >
select-sass-theme - Ember Observer
This tiny addon lets you define multiple Sass files and include only one of them into your app's build, via an env var....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found