Ошибка генерации исходной карты - конфигурация grunt и sass
Я пытаюсь использовать sass с ворчанием. Я установил на своем пути рубин, дерзость и хрюканье.
Версии есть,
узел: 0.10.20
нпм: 1.3.11
grunt-cli: 0.1.13
хрюканье: 0.4.5
sass: 3.4.4
мой пакет JSON есть,
"private": true,
"devDependencies": {
"express": "4.x",
"grunt": "~0.4.1",
"grunt-contrib-sass": "~0.3.0",
"grunt-contrib-watch": "~0.4.4"
}
мой ворчливый файл,
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
files: {
'style/style.css' : 'sass/home.scss'
}
}
},
watch: {
css: {
files: '**/*.scss',
tasks: ['sass']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default',['watch']);
}
Теперь, если я попробовал команду "grunt", я получаю ошибку ниже. Любая помощь?
бежать: ворчать или ворчать часы или ворчать нахальный
ошибка:
Running "sass:dist" (sass) task
Error: Error generating source map: couldn't determine public URL for the source
stylesheet.
No filename is available so there's nothing for the source map to link
to.
on line of standard input
Use --trace for backtrace.
Warning: Error: Error generating source map: couldn't determine public URL for t
he source stylesheet.
No filename is available so there's nothing for the source map to link
to.
on line of standard input
Use --trace for backtrace. Use --force to continue.
Aborted due to warnings.
любая идея?