webcam-transfer-learning$ yarn watch
yarn run v1.5.1
$ NODE_ENV=development parcel --no-hmr --open index.html
Server running at http://localhost:1234
⏳ Building...
Unhandled promise rejection: Error: Exited with code 3
at ChildProcess.cp.once.code (/home/kr/tfjs-examples/webcam-transfer-learning/node_modules/opn/index.js:84:13)
at Object.onceWrapper (events.js:272:13)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Socket.stream.socket.on (internal/child_process.js:353:11)
at Socket.emit (events.js:180:13)
✨ Built in 1.82s.
--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+unsubscribe@tensorflow.org.
Visit this group at https://groups.google.com/a/tensorflow.org/group/tfjs/.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/f6d487bd-aef6-4293-9c16-e6407b4477ee%40tensorflow.org.
Have you run "yarn"?
On Sun, Apr 8, 2018 at 2:00 PM, K.R <reachkra...@gmail.com> wrote:
I get an error while starting and no webcam found error is seen on web page. How to resolvewebcam-transfer-learning$ yarn watch
yarn run v1.5.1
$ NODE_ENV=development parcel --no-hmr --open index.html
Server running at http://localhost:1234
⏳ Building...
Unhandled promise rejection: Error: Exited with code 3
at ChildProcess.cp.once.code (/home/kr/tfjs-examples/webcam-transfer-learning/node_modules/opn/index.js:84:13)
at Object.onceWrapper (events.js:272:13)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Socket.stream.socket.on (internal/child_process.js:353:11)
at Socket.emit (events.js:180:13)
✨ Built in 1.82s.
--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+uns...@tensorflow.org.
Additional information..
sudo apt install gvfs-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
gvfs-bin is already the newest version (1.28.2-1ubuntu1~16.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
yarn
yarn install v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsev...@1.1.3: The platform "linux" is incompatible with this module.
info "fsev...@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
success Saved lockfile.
Done in 27.91s.
ls dist/
af7093ce3593435314f7cfd29a87abb7.svg f1c90f053e7c94233683c9f3978b1aeb.css index.html tfjs-examples-webcam-transfer-learning.map
b6f2b1f5c311a9295ba17fe5ef4ce42c.png ff9dad041ce782679a951207910043e4.svg tfjs-examples-webcam-transfer-learning.js
tfjs-examples/webcam-transfer-learning/dist$ ../node_modules/http-server/bin/http-server
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8080
http://10.138.0.9:8080
Hit CTRL-C to stop the server
[Wed Apr 11 2018 02:38:53 GMT+0000 (UTC)] "GET /" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:53 GMT+0000 (UTC)] "GET /f1c90f053e7c94233683c9f3978b1aeb.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:53 GMT+0000 (UTC)] "GET /tfjs-examples-webcam-transfer-learning.js" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:53 GMT+0000 (UTC)] "GET /af7093ce3593435314f7cfd29a87abb7.svg" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:53 GMT+0000 (UTC)] "GET /b6f2b1f5c311a9295ba17fe5ef4ce42c.png" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:56 GMT+0000 (UTC)] "GET /favicon.ico" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
[Wed Apr 11 2018 02:38:56 GMT+0000 (UTC)] "GET /favicon.ico" Error (404): "Not found"
[Wed Apr 11 2018 02:39:50 GMT+0000 (UTC)] "GET /index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/01f88238-66f4-4844-b9d5-dc7f39e2f594%40tensorflow.org.