Hubot 만들기

Paikwiki
Paikwiki (토론 | 기여)님의 2017년 4월 16일 (일) 17:07 판 (서식 수정)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
이동: 둘러보기, 검색

error 1[ ]

$ yo hubot
                     _____________________________
                    /                             \
   //\              |      Extracting input for    |
  ////\    _____    |   self-replication process   |
 //////\  /_____\   \                             /
 ======= |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|

? Owner paikwiki <paikwiki@gmail.com>
? Bot name louvrer
? Description A simple helpful robot for your Company
? Bot adapter irc
identical bin/hubot
identical bin/hubot.cmd
identical Procfile
identical README.md
identical external-scripts.json
identical hubot-scripts.json
identical .gitignore
 conflict package.json
? Overwrite package.json? overwrite
    force package.json
identical scripts/example.coffee
identical .editorconfig
                     _____________________________


 _____              /                             \
 \    \             |   Self-replication process   |
 |    |    _____    |          complete...         |
 |__\\|   /_____\   \     Good luck with that.    /
   |//+  |[^_/\_]|   /----------------------------
  |   | _|___@@__|__
  +===+/  ///     \_\
   | |_\ /// HUBOT/\\
   |___/\//      /  \\
         \      /   +---+
          \____/    |   |
           | //|    +===+
            \//      |xx|


> node-icu-charset-detector@0.2.0 install /Users/chPaik/Sites/test/louvrer/node_modules/node-icu-charset-detector
> node-gyp rebuild

  CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o
../node-icu-charset-detector.cpp:7:10: fatal error: 'unicode/ucsdet.h' file not found
#include <unicode/ucsdet.h>
         ^
1 error generated.
make: *** [Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/chPaik/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/usr/local/Cellar/node/6.4.0/bin/node" "/Users/chPaik/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/chPaik/Sites/test/louvrer/node_modules/node-icu-charset-detector
gyp ERR! node -v v6.4.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:node-icu-charset-detector@0.2.0 node-icu-charset-detector@0.2.0 install: `node-gyp rebuild`
npm WARN install:node-icu-charset-detector@0.2.0 Exit status 1

해결책

$ brew install icu4c
$ brew link icu4c --force

마지막 편집: 2017년 4월 16일 (일) 17:07