/mnt/utmp/nodejs$ sudo npm install dlnacast -g
Password:
/mnt/utmp/nodejs/bin/dlnacast -> /mnt/utmp/nodejs/lib/node_modules/dlnacast/index.js
> dtrace-provider@0.2.8 install /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/dtrace-provider
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/mnt/utmp/nodejs/home/.node-gyp/6.3.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/tmp/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /mnt/utmp/nodejs/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 3.2.83
gyp ERR! command "/mnt/utmp/nodejs/bin/node" "/mnt/utmp/nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/dtrace-provider
gyp ERR! node -v v6.3.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN install:dtrace-provider@0.2.8 dtrace-provider@0.2.8 install: `node-gyp rebuild`
npm WARN install:dtrace-provider@0.2.8 Exit status 1
/mnt/utmp/nodejs/lib
��������� dlnacast@0.0.2
��������� get-port@1.0.0
��������� internal-ip@1.0.0
��������� keypress@0.2.1
��������� mime@1.3.4
��������� minimist@1.1.1
��������� node-ssdp@2.0.1
��� ��������� bunyan@0.22.3
��� ��� ��������� mv@2.1.1
��� ��� ��������� mkdirp@0.5.1
��� ��� ��� ��������� minimist@0.0.8
��� ��� ��������� ncp@2.0.0
��� ��� ��������� rimraf@2.4.5
��� ��� ��������� glob@6.0.4
��� ��� ��������� inflight@1.0.6
��� ��� ��� ��������� wrappy@1.0.2
��� ��� ��������� inherits@2.0.3
��� ��� ��������� minimatch@3.0.3
��� ��� ��� ��������� brace-expansion@1.1.6
��� ��� ��� ��������� balanced-match@0.4.2
��� ��� ��� ��������� concat-map@0.0.1
��� ��� ��������� once@1.4.0
��� ��� ��������� path-is-absolute@1.0.1
��� ��������� bunyan-prettystream@0.1.3
��� ��������� ip@0.3.2
��������� range-parser@1.0.2
��������� upnp-mediarenderer-client@1.0.0
��������� debug@2.1.3
��� ��������� ms@0.7.0
��������� upnp-device-client@1.0.0
��������� concat-stream@1.4.8
��� ��������� inherits@2.0.1
��� ��������� readable-stream@1.1.13
��� ��� ��������� core-util-is@1.0.1
��� ��� ��������� isarray@0.0.1
��� ��� ��������� string_decoder@0.10.31
��� ��������� typedarray@0.0.6
��������� elementtree@0.1.6
��� ��������� sax@0.3.5
��������� network-address@1.0.0
/mnt/utmp/nodejs$ dlnacast /media/1/Air_-_La_Femme_D\'Argent.mp4
events.js:160
throw er; // Unhandled 'error' event
^
Error: Service urn:upnp-org:serviceId:AVTransport not provided by device
at /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:189:17
at /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:48:5
at /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:556:7
at ConcatStream.<anonymous> (/mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/index.js:36:43)
at emitNone (events.js:91:20)
at ConcatStream.emit (events.js:185:7)
at finishMaybe (/mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:460:14)
at afterWrite (/mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:340:3)
at /mnt/utmp/nodejs/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:327:9
at _combinedTickCallback (internal/process/next_tick.js:67:7)
castnow in your node.js PND works well, except I had to give it the IP address of my chromecast, it wouldn't find it on its own.
OK that's weird because it just worked for me. Is your Pandora up to date? And I assume you made sure the WiFi was on.I tried to install castnow but it does some stuff and then I get a load of errors, what did you do to make it work?
I tried with out and with sudo
npm install castnow -g
OK that's weird because I tried it without sudo and it segfaulted. With sudo it worked.@Silent-Hunter don't use sudo, it useless here.
Also, next codeblocks pnd will automount node.js pnd, so make will be accessible.
Your are using a fat32 sdcard maybe? It would be better to use an ext2 filesystem.
I'll probably try to rebuild the pnd later, without this folder in the PND, but creating it at 1st launch (lib is empty in this pnd, not external depedency).
I recommend changing it to ext2 or ext4 with journaling disabled, and use ext2fsd on Windows to mount it.Yes, it's an almost full 64GB FAT32 formatted card. Filled to the brim with games, tools and other PND goodness. If I could prevent it, I rather not copy the entire card to format it to ext2 and copy it back, would your altered PND repair it for me? Are there more reasons to switch to another ext2? I use the cards in windows machines too, to copy media on it mainly.
Right on!After days of hacking (because I already started month ago, but now, with gcc 6.2, things improved), I finaly got this:
View attachment 29490
Now, I still have to figure out how to package this beast (don't forget it include mostly all chromium) in nodejs pnd and try to use it (with vscode for example )