W
W
Windrider2014-12-14 18:02:48
Debugging
Windrider, 2014-12-14 18:02:48

node.js error: Object # has no method 'styles'. What could be the problem?

Throws an error: TypeError: Object # has no method 'stylus':
7eb400545cef407f93538ddf8fd71fcf.png
Refers to this task in gulpfile.js:
356af066ce5a48b182333413f1bbe7df.png
Stylus is installed both locally and globally.
Please tell me what could be the problem? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kimonniez, 2014-12-15
@kimonniez

Perhaps it needs to be connected with require somewhere above.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question