-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am unable to install this package #31
Comments
Then I assumed that the problem was with the IRC adapter. Since it isn't officially support, I switched to the shell adapter and get the same error. Then, I simply tried to install this package directly:
make: Entering directory '/home/jadzia/jadzia/node_modules/irc/node_modules/node-icu-charset-detector/build'
make: Entering directory '/home/jadzia/jadzia/node_modules/node-icu-charset-detector/build' npm ERR! [email protected] install: npm ERR! Please include the following file with any support request: I have attached the npm-debug.log in case it's helpful. Any suggestions would be appreciated. |
Having the same problem! |
I partially solve it using the following steps:
Hopes help... |
From the instructions on the first page, install this first and it should install. apt-get install libicu-dev |
For those running CentOS, installing |
I originally discovered this issue when attempting to set up Hubot with an IRC adapter on Windows 10. Hubot isn't really officially supported on Windows 10, so I chalked up the problem to the platform. So I switched to Ubuntu 16. When I get to this stage in the Hubot instructions:
yo hubot
, it starts the process of getting everything needed for Hubot, apparently that includes this package. When it attempts to install this package you get the following error:iconv.target.mk:109: recipe for target 'Release/obj.target/iconv/src/binding.o' failed
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
make: Leaving directory '/home/jadzia/jadzia/node_modules/iconv/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/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 Linux 4.4.0-21-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jadzia/jadzia/node_modules/iconv
gyp ERR! node -v v6.4.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install:
node-gyp rebuild
npm WARN install:[email protected] Exit status 1
[email protected] install /home/jadzia/jadzia/node_modules/node-icu-charset-detector
node-gyp rebuild
make: Entering directory '/home/jadzia/jadzia/node_modules/node-icu-charset-detector/build'
CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o
../node-icu-charset-detector.cpp:5:28: fatal error: unicode/ucsdet.h: No such file or directory
compilation terminated.
node-icu-charset-detector.target.mk:90: recipe for target 'Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o' failed
make: *** [Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o] Error 1
make: Leaving directory '/home/jadzia/jadzia/node_modules/node-icu-charset-detector/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/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 Linux 4.4.0-21-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jadzia/jadzia/node_modules/node-icu-charset-detector
gyp ERR! node -v v6.4.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install:
node-gyp rebuild
npm WARN install:[email protected] Exit status 1
[email protected] /home/jadzia/jadzia
The text was updated successfully, but these errors were encountered: