-
Notifications
You must be signed in to change notification settings - Fork 452
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
Can NOT use "npm install bleno" in WRTnode, which is a kind of openwrt system. #108
Comments
Can you please share the npm debuf log? Also, do you have the libbluetooth headers installed? |
I have tried to install "libbluetooth-dev", but it's unavailable in my platform, WRTnode. I can install "libbluetooth-dev" in Raspberry Pi. |
You'll have to find the equivalent to install. You could just use |
I can use "npm list" in /root to list the install packages, I found bleno was installed in my WRTnode. |
After that, I copy example/battery_service into my WRTnode, and run "npm install" in folder "battery_service", but below message pop-up.
Fatal error in ../deps/v8/src/incremental-marking.cc, line 458CHECK(success) failed==== Stack trace ============================================ Security context: 0x35f09619 #0# ==== Details ================================================ [1]: emit [events.js:53](this=0x2b1f7d71 #1#,type=0x2b70bf6d <String[4]: data) { } [2]: arguments adaptor frame: 2->1 { [3]: _emitChunk [/usr/lib/node_modules/npm/node_modules/block-stream/block-stream.js:145](this=0x2b1f7d71 #1#,flush=0x35f08091 <undefined) { } [4]: arguments adaptor frame: 0->1 { [5]: resume [/usr/lib/node_modules/npm/node_modules/block-stream/block-stream.js:58](this=0x2b1f7d71 #1#) { function () {? // debug(" BS resume")? this._paused = false? return this._emitChunk()?}} [6]: arguments adaptor frame: 1->0 { [7]: resume [/usr/lib/node_modules/npm/node_modules/fstream/lib/reader.js:255](this=0x2b1f7dc1 #2#,who=0x2b1f7dc1 #2#) { function (who) {? this._paused = false? who = who || this? this.emit("resume", who)? if (this._stream) this._stream.resume(who)? this._read()?}} [8]: arguments adaptor frame: 0->1 { [9]: ondrain [stream.js:61](this=0x2b1a6be1 #3#) { function ondrain() {? if (source.readable && source.resume) {? source.resume();? }? }} [10]: emit [events.js:92](this=0x2b1a6be1 #3#,type=0x3f4a5455 <String[5]: drain) { } [11]: _process [/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:88](this=0x2b1a6be1 #3#) { } [12]: onend [/usr/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:169](this=0x3470819d #4#) { function onend() {? if (ended) return? ended = true? // console.error("* DW Child end", child.basename)? me._currentChild = null? me._processing = false? me._process()? }} [13]: emit [events.js:92](this=0x3470819d #4#,type=0x2b7193b9 <String[5]: close) { } [14]: statCb [/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:135](this=0x35f096c1 #5#,er=0x34708245 #6#,current=0x35f08091 <undefined) { } [15]: arguments adaptor frame: 1->2 { [17]: oncomplete [evalmachine.:107](this=0x347082a5 #7#) { function () {? return cb.apply(null, arguments);? }} [18]: arguments adaptor frame: 1->0 { ==== Key ============================================ #0# 0x35f09619: 0x35f09619 #96# 0x3473457d: 0x3473457dTrace/breakpoint trap npm ERR! bleno@0.1.13 install: |
@kaiser-ren this is starting to become out of scope of bleno. Your either |
@kaiser-ren You can use Noble on a WRTnode. |
my platform is WRTnnode, a kind of openwrt syste. www.wrtnode.com
I had installed nodejs.
Then when I use npm install bleno, the installer reported an error:
npm ERR! bleno@0.1.13 install:
node-gyp rebuild
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the bleno@0.1.13 install script.
npm ERR! This is most likely a problem with the bleno package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls bleno
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.10.49
npm ERR! command "node" "/usr/bin/npm" "install" "bleno"
npm ERR! cwd /tmp
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
what's wrong with that?
The text was updated successfully, but these errors were encountered: