question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build Partially failed due to unicode/ucsdet.h: No such file or directory. But my first Hello World works

See original GitHub issue

Thanks for the very good tool. Awesome.

i installed in my Ubuntu 14.10 and below is the error. When i first started my hello world, works 😃 The question is, is that issue or i can ignore and move on.

make: Entering directory ‘/usr/local/lib/node_modules/node-red/node_modules/irc/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 #include <unicode/ucsdet.h> ^ compilation terminated. node-icu-charset-detector.target.mk:80: 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 ‘/usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector/build’ gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12) gyp ERR! System Linux 3.16.0-38-generic gyp ERR! command “nodejs” “/usr/bin/node-gyp” “rebuild” gyp ERR! cwd /usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector gyp ERR! node -v v0.10.25 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm WARN This failure might be due to the use of legacy binary “node” npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7

iconv@2.1.7 install /usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/iconv node-gyp rebuild

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vielmetticommented, May 30, 2015

The sources for that module are here

https://github.com/mooz/node-icu-charset-detector

and it says in the comments that there are additional build requirements for libicu which it provides this instruction for Debian / Ubuntu

apt-get install libicu-dev

which should presumably go into the dependency list somehow.

0reactions
knollearycommented, Jun 16, 2015

With 0.10.8 we’ve removed irc from the default install - this should reduce the confusion these messages cause new users who don’t care about irc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "g++: error: helloworld.cpp: No such file or directory ...
I got the same problem, and the solution is to move cpp and header files into project folder (1 folder up), that is...
Read more >
Hello World Example not working · Issue #211 · Gottwik/Enduro
I'm trying to run the hello world example, but am getting the following error when ... Error: ENOENT: no such file or directory,...
Read more >
Basic hello world created by VS does not build
1) Open Visual Studio 2017 Preview · 2) Click "File->New->Project..." · 3) Select "Other Languages->Visual C++" · 4) Select "Windows Console Application" ·...
Read more >
1.1 Your First Java Program: Hello World
We break the process of programming in Java into three steps: Create the program by typing it into a text editor and saving...
Read more >
Fix Error: GCC/G++ No such file or directory - YouTube
How to fix error GCC/G++ No such file or directory - fatal error No input files. ... Your browser can't play this video....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found