When I was dealing with this installation, I got a lot of errors that all looked similar and had to debug them one at a time. What is the exact error you are getting?
Also, did you look at the debug log file at the end of the error to see if there were any clues in there?
Hi everyone!
I’m getting the same error when trying to install the Local Sample
I’ve followed this link’s instructions. https://marketplace.zoom.us/docs/sdk/native-sdks/web/reference
I’ve added my key and secret string (Developer Marketplace) on index.js
Then I’ve tried:
npm install @zoomus/websdk@1.7.6
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
npm install http-server -g
but I’m still gettings these errors
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-local@1.7.6 https: set NODE_ENV=development && set BABEL_ENV=development && webpack-dev-server --config webpack.config.dev.js --https true --open https://localhost:9999/index.html --watch
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-local@1.7.6 https script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-05-01T19_03_15_092Z-debug.log
I have the same issue. I am running Ubuntu 20.04. I tried running the sample app using node 14 and 10. The suggested fix results in the same error.
Traceback:
> websdk-local@1.7.9 start /home/damian/zoom/Local
> set NODE_ENV=development && set BABEL_ENV=development && webpack-dev-server --config webpack.config.dev.js --https false --open http://localhost:9999/index.html --watch
ℹ 「wds」: Project is running at http://0.0.0.0:9999/
ℹ 「wds」: webpack output is served from /static
ℹ 「wds」: Content not from webpack is served from /home/damian/zoom/Local
events.js:291
throw er; // Unhandled 'error' event
^
Error: spawn http://localhost:9999/index.html ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
at onErrorNT (internal/child_process.js:468:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn http://localhost:9999/index.html',
path: 'http://localhost:9999/index.html',
spawnargs: [ 'http://0.0.0.0:9999/' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! websdk-local@1.7.9 start: `set NODE_ENV=development && set BABEL_ENV=development && webpack-dev-server --config webpack.config.dev.js --https false --open http://localhost:9999/index.html --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the websdk-local@1.7.9 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/damian/.npm/_logs/2020-07-03T17_02_50_630Z-debug.log