Created
March 30, 2015 17:08
-
-
Save crouchingbadger/f5d2127f17e190aac9af to your computer and use it in GitHub Desktop.
Errors installing node-red
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 3 : RUN npm install -g node-red | |
---> Running in 8847c66dbaa6 | |
> node-icu-charset-detector@0.0.7 install /usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector | |
> node-gyp rebuild | |
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/.node-gyp/0.10.38" | |
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector/.node-gyp" | |
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:81: 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/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:98:17) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12) | |
gyp ERR! System Linux 3.13.0-32-generic | |
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "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.38 | |
gyp ERR! node-gyp -v v1.0.3 | |
gyp ERR! not ok | |
> utf-8-validate@1.0.1 install /usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate | |
> node-gyp rebuild | |
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/.node-gyp/0.10.38" | |
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/.node-gyp" | |
make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build' | |
CXX(target) Release/obj.target/validation/src/validation.o | |
SOLINK_MODULE(target) Release/obj.target/validation.node | |
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished | |
COPY Release/validation.node | |
make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build' | |
npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7 | |
> bufferutil@1.0.1 install /usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil | |
> node-gyp rebuild | |
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/.node-gyp/0.10.38" | |
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/.node-gyp" | |
make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build' | |
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o | |
SOLINK_MODULE(target) Release/obj.target/bufferutil.node | |
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished | |
COPY Release/bufferutil.node | |
make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build' | |
> iconv@2.1.6 install /usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/iconv | |
> node-gyp rebuild | |
gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/.node-gyp/0.10.38" | |
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/iconv/.node-gyp" | |
make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/iconv/build' | |
CC(target) Release/obj.target/libiconv/deps/libiconv/lib/iconv.o | |
AR(target) Release/obj.target/iconv.a | |
COPY Release/iconv.a | |
CXX(target) Release/obj.target/iconv/src/binding.o | |
SOLINK_MODULE(target) Release/obj.target/iconv.node | |
SOLINK_MODULE(target) Release/obj.target/iconv.node: Finished | |
COPY Release/iconv.node | |
make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/irc/node_modules/iconv/build' | |
> serialport@1.4.10 install /usr/local/lib/node_modules/node-red/node_modules/serialport | |
> node-pre-gyp install --fallback-to-build | |
[serialport] Success: "/usr/local/lib/node_modules/node-red/node_modules/serialport/build/serialport/v1.4.10/Release/node-v11-linux-x64/serialport.node" is installed via remote | |
/usr/local/bin/node-red -> /usr/local/lib/node_modules/node-red/red.js | |
/usr/local/bin/node-red-pi -> /usr/local/lib/node_modules/node-red/bin/node-red-pi | |
node-red@0.10.4 /usr/local/lib/node_modules/node-red | |
├── is-utf8@0.2.0 | |
├── on-headers@1.0.0 | |
├── clone@0.2.0 | |
├── twitter-ng@0.6.2 | |
├── nopt@3.0.1 (abbrev@1.0.5) | |
├── mustache@1.0.0 | |
├── passport-oauth2-client-password@0.1.2 (passport-strategy@1.0.0) | |
├── passport-http-bearer@1.0.1 (passport-strategy@1.0.0) | |
├── oauth@0.9.12 | |
├── mkdirp@0.5.0 (minimist@0.0.8) | |
├── bcryptjs@2.1.0 | |
├── follow-redirects@0.0.3 (underscore@1.8.2) | |
├── when@3.7.2 | |
├── fs.notify@0.0.4 (retry@0.6.1, async@0.1.22) | |
├── cors@2.5.3 (vary@1.0.0) | |
├── oauth2orize@1.0.1 (uid2@0.0.3, utils-merge@1.0.0, debug@0.7.4) | |
├── passport@0.2.1 (pause@0.0.1, passport-strategy@1.0.0) | |
├── mqtt@0.3.13 (readable-stream@1.0.33) | |
├── imap@0.8.14 (utf7@1.0.0, readable-stream@1.1.13) | |
├── raw-body@1.3.2 (bytes@1.0.0, iconv-lite@0.4.6) | |
├── fs-extra@0.16.3 (jsonfile@2.0.0, graceful-fs@3.0.6, rimraf@2.3.2) | |
├── nodemailer@1.3.0 (hyperquest@0.3.0, nodemailer-smtp-transport@0.1.13, nodemailer-direct-transport@1.0.2, libmime@0.1.7, buildmail@1.2.1) | |
├── feedparser@0.19.2 (array-indexofobject@0.0.1, addressparser@0.1.3, readable-stream@1.0.33, resanitize@0.3.0, sax@0.6.1) | |
├── sentiment@0.2.3 (async@0.2.10, lodash@1.3.1) | |
├── uglify-js@2.4.16 (uglify-to-browserify@1.0.2, async@0.2.10, optimist@0.3.7, source-map@0.1.34) | |
├── request@2.42.0 (caseless@0.6.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, stringstream@0.0.4, tunnel-agent@0.4.0, oauth-sign@0.4.0, qs@1.2.2, node-uuid@1.4.3, mime-types@1.0.2, form-data@0.1.4, bl@0.9.4, http-signature@0.10.1, tough-cookie@0.12.1, hawk@1.1.1) | |
├── cheerio@0.18.0 (dom-serializer@0.0.1, entities@1.1.1, lodash@2.4.1, htmlparser2@3.8.2, CSSselect@0.4.1) | |
├── xml2js@0.4.4 (sax@0.6.1, xmlbuilder@2.6.2) | |
├── express@3.17.2 (basic-auth@1.0.0, merge-descriptors@0.0.2, fresh@0.2.4, cookie@0.1.2, escape-html@1.0.1, range-parser@1.0.2, cookie-signature@1.0.5, media-typer@0.3.0, vary@1.0.0, methods@1.1.0, parseurl@1.3.0, depd@0.4.5, crc@3.0.0, debug@2.0.0, commander@1.3.2, proxy-addr@1.0.1, send@0.9.2, connect@2.26.1) | |
├── cron@1.0.6 (moment-timezone@0.2.4) | |
├── ws@0.7.1 (options@0.0.6, ultron@1.0.1, utf-8-validate@1.0.1, bufferutil@1.0.1) | |
├── irc@0.3.9 (ansi-color@0.2.1, irc-colors@1.1.0, iconv@2.1.6) | |
└── serialport@1.4.10 (bindings@1.2.1, sf@0.1.7, async@0.9.0, nan@1.3.0, optimist@0.6.1) | |
---> 0311c2f2e0f9 | |
Removing intermediate container 8847c66dbaa6 | |
Step 4 : EXPOSE 1880 | |
---> Running in 3591f163fb3e | |
---> efac2891e76c | |
Removing intermediate container 3591f163fb3e | |
Step 5 : CMD /usr/local/bin/node-red | |
---> Running in 08acbf6024fb | |
---> 8a6784bcd0fa | |
Removing intermediate container 08acbf6024fb | |
Successfully built 8a6784bcd0fa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Ben,
yes although though are "errors" they are "optional" - eg see the line 41 "npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7" - so although it failed it continues Ok - so in fact it is built ok.
The base set of Node-RED does work fine... - of course if you add extra nodes then some of them may require gyp to work properly - but then the non slim version should be ok.