Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Build Error SassCompiler file not found /addon.sass

$
0
0

@John_McGlaughlin wrote:

Application would no longer build on production server but was ok on stage. Found that we thought we were upgrading from 2.4 through 2.16 when we weren’t following practices on production. The short is that team got the package.json npm and node version all messed up. After days it was far easier to move to 3.3 ember init and add packages back as needed.

During the refactor I ran into the SassCompiler error, but found that I could continue with ember serve to continue the refactor.

I made the mistake of continuing without marking down what addon this might have come from.
There is no tracking that I can tell from the logs what addon I need to address.

IS there a way option logging that will help me identify the addon package that I am failing to include in my (I assume) app.sass file?

//package.json

{

“name”: “ix”,

“version”: “0.0.0”,

“private”: true,

“description”: “Small description for Innovation Express goes here”,

“license”: “MIT”,

“author”: “”,

“directories”: {

"doc": "doc",

"test": "tests"

},

“repository”: “”,

“scripts”: {

"build": "ember build",

"lint:js": "eslint .",

"start": "ember serve",

"test": "ember test"

},

“devDependencies”: {

"broccoli-asset-rev": "^2.7.0",

"ember-ajax": "^3.0.0",

"ember-cli": "^3.3.0",

"ember-cli-app-version": "^3.0.0",

"ember-cli-babel": "^6.6.0",

"ember-cli-dependency-checker": "^2.0.0",

"ember-cli-eslint": "^4.2.1",

"ember-cli-htmlbars": "^2.0.1",

"ember-cli-htmlbars-inline-precompile": "^1.0.0",

"ember-cli-inject-live-reload": "^1.4.1",

"ember-cli-moment-shim": "^3.7.1",

"ember-cli-qunit": "^4.3.2",

"ember-cli-sass": "^7.1.7",

"ember-cli-shims": "^1.2.0",


"ember-cli-spinjs": "^1.4.2",

"ember-cli-sri": "^2.1.0",

"ember-cli-uglify": "^2.0.0",

"ember-data": "^3.3.1",

"ember-export-application-global": "^2.0.0",

"ember-light-table": "^1.13.2",

"ember-load": "^0.0.12",

"ember-load-initializers": "^1.1.0",

"ember-maybe-import-regenerator": "^0.1.6",

"ember-modal-dialog": "^3.0.0-beta.0",

"ember-moment": "^7.7.0",

"ember-notify": "^5.3.0",
"ember-power-select": "^2.0.4",

"ember-radio-button": "^1.2.4",
"ember-resolver": "^4.0.0",

"ember-responsive": "^3.0.0-beta.3",

"ember-source": "^3.3.2",

"ember-tether": "^1.0.0",
"ember-tooltips": "^2.9.2",

"eslint-plugin-ember": "^5.0.0",

"loader.js": "^4.2.3",

"minimatch": "^3.0.4",

"qunit-dom": "^0.7.1"

},

“engines”: {

"node": "6.* || 8.* || >= 10.*"

},

“dependencies”: {

"lodash": "^4.17.10",

"minimatch": "^3.0.4",

"npm": "^6.4.0",

"yarn": "^1.9.4"

}

}

//ember-cli-build.js

‘use strict’;

const EmberApp = require(‘ember-cli/lib/broccoli/ember-app’);

module.exports = function(defaults) {

let app = new EmberApp(defaults, {

// Add options here

sassOptions: {

  extension: 'sass'

},

outputPaths: {

  app: {

    html: 'index.html',

    css: {

      'app': '/assets/ix.css'

    },

    js: '/assets/ix.js'

  },

  vendor: {

    css: '/assets/vendor.css',

    js: '/assets/vendor.js'

  }

}

});

return app.toTree();

};

//app/styles/app.sass

@import “ember-power-select”

@import “app/styles/w3.scss”

@import “app/styles/ix.scss”

@import “app/styles/home.scss”

@import “node_modules/ember-modal-dialog/app/styles/ember-modal-dialog/ember-modal-structure.scss”

@import “node_modules/ember-modal-dialog/app/styles/ember-modal-dialog/ember-modal-appearance.scss” o o o

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles