こちらを参考にgulpを使えるようにしようとしていたところ、
gulp sassのコマンドで下記のエラーになってしまいました。
きっと基本的なことなんだと思いますが、node・Ruby界隈の知識がなく詰まってしまったため、ご助力願います。
rysh% gulp sass
[05:11:07] Using gulpfile ~/src/node/sampleweb/gulpfile.js
[05:11:07] Starting 'sass'...
[05:11:07] 'sass' errored after 7.07 ms
[05:11:07] ReferenceError: sass is not defined
at Gulp.<anonymous> (/Users/rysh/src/node/sampleweb/gulpfile.js:5:15)
at module.exports (/Users/rysh/src/node/sampleweb/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/rysh/src/node/sampleweb/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/rysh/src/node/sampleweb/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/rysh/src/node/sampleweb/node_modules/orchestrator/index.js:134:8)
at /Users/rysh/.nodebrew/node/v5.1.0/lib/node_modules/gulp/bin/gulp.js:129:20
at doNTCallback0 (node.js:430:9)
at process._tickCallback (node.js:359:13)
at Function.Module.runMain (module.js:459:11)
at startup (node.js:138:18)
実行環境は環境以下です
Mac 10.10.5
node v5.1.0
npm 3.3.12
gulp 3.9.0
ruby 2.0.0
Sass 3.4.20
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/02 00:23