LoginSignup
2
2

More than 5 years have passed since last update.

Hubotの環境構築でつまりました。(generator-hubotがインストールできない)

Posted at

こんにちは。Hubotについて質問です。
こちらを参照してHubotを自前の環境で動かしてみようと思ったのですが、うまくいきません。

generator-hubotをインストールする際にwarnが出ていることがわかりました。
css-select、css-whatは双方インストールしたのですが、このWARNが消えず、
generator-hubotがインストールされません。
解決方法を教えていただけたらうれしいです。

環境
windows10
npm 3.8.8
node.js v6.0.0
yo 1.7.0

C:\Users\UserName>npm install -g generator-hubot
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
C:\Users\UserName\AppData\Roaming\npm
+-- generator-hubot@0.3.1
`-- UNMET PEER DEPENDENCY yo@>=1.0.0

npm WARN generator-hubot@0.3.1 requires a peer of yo@>=1.0.0 but none was installed.

C:\Users\UserName>


ちなみにこのまま実行すると、adapterを選択したところでエラーが出ます。
~~~
C:\Users\UserName\ryobot>yo hubot
(hubotのアスキーアート・・・)
? Owner (User user@example.com)
? Owner User user@example.com
? Bot name ryobot
? Description A simple helpful robot for your Company
? Bot adapter (campfire) slackgot back false

C:\Users\UserName\AppData\Roaming\npm\node_modules\yo\node_modules\rx\dist\rx.js:77
throw e;
^
true

C:\Users\UserName\ryobot>
~~~

2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2