@Oudriss wrote:
0 down vote favorite I am working on an ember project and I’ve decided to integrate Bootstrap by installing ember-bootstrap and using sass preprocessor :
_ember install ember-bootstrap _
ember generate ember-bootstrap --preprocessor=sassBut the projetc fails to start because of this error :
Build Error (SassCompiler) in 0/ember-bootstrap/_variables.scss:338:31
argument $color of rgba($color, $alpha) must be a colorI am using :
node-sass: 4.9.0
ember-cli: 3.1.4
node: 9.11.1
bootstrap: 4.1.1For ember-cli-build.js :
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var nodeSass = require('node-sass'); module.exports = function(defaults) { var app = new EmberApp(defaults, { // Add options here sassOptions: { includePaths: [ 'bower_components/materialize/sass' ], nodeSass: nodeSass }, 'ember-bootstrap': { 'bootstrapVersion': 4, 'importBootstrapFont': false, 'importBootstrapCSS': false } }); return app.toTree(); };
Any suggestion on where am I going wrong ?
Posts: 3
Participants: 2