Comments (5)
EDIT:
I was able to run "npm install" after downgrading node to version 8.
Though, I still have an error when I try to run "npm start":
fse@ubuntu:~/odas_web-0.2-alpha$ npm install
[email protected] postinstall /home/fse/odas_web-0.2-alpha
electron-rebuild
✔ Rebuild Complete
up to date in 4.436s
fse@ubuntu:/odas_web-0.2-alpha$ ls/odas_web-0.2-alpha$ npm start
audio-recorder.js LICENSE odas.js README.md resources settings.js views
build.js main.js package.json recordings.js screenshots share.js
configure.js node_modules package-lock.json record.js servers.js stream-to-text.js
fse@ubuntu:
[email protected] start /home/fse/odas_web-0.2-alpha
electron .
/home/fse/odas_web-0.2-alpha/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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/fse/.npm/_logs/2018-08-16T09_47_29_687Z-debug.log
fse@ubuntu:~/odas_web-0.2-alpha$
from odas_web.
Adding logs:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/fse/odas_web-0.2-alpha/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: /home/fse/odas_web-0.2-alphastart: Args: [ '-c', 'electron .' ]
10 silly lifecycle [email protected]
11 info lifecycle [email protected]~start: Failed to exec start script
12 verbose stack Error: [email protected] start: electron .
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at emitTwo (events.js:126:13)
12 verbose stack at ChildProcess.emit (events.js:214:7)
12 verbose stack at maybeClose (internal/child_process.js:925:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
13 verbose pkgid [email protected]
14 verbose cwd /home/fse/odas_web-0.2-alpha
15 verbose Linux 4.15.0-29-generic
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
17 verbose node v8.11.4
18 verbose npm v5.6.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error [email protected] start: electron .
23 error spawn ENOENT
24 error Failed at the [email protected] start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
from odas_web.
Seems like a missing dependency. Try installing the missing package manually with sudo apt install libgconf-2-4
.
You can also delete the node_modules folder, execute npm cache clean
then retry the install.
from odas_web.
deleting the node_modules folder and retry to install didn't work.
Instead, installing the missing dependency did the job.
Just want to report that also the libcanberra-gtk-module was missing.
Thanks for your help!
from odas_web.
Glad to hear that!
from odas_web.
Related Issues (20)
- Unable to run npm install (error command electron-rebuild) HOT 13
- Please add windows binary to release
- Camera Viewer HOT 4
- Failed to use ODAS web with respeaker V2 HOT 1
- bandpass filtering results in no detections
- npm install error HOT 5
- Recorder 0 was false active HOT 1
- odas web not getting doa
- Source hops: cannot open audio device he:1,0
- ODAS STUDIO NO OUTPUT ReSpeaker Version 2.0 PLEASE HELP
- ODAS Control not launching and ODAS stuck on ‘Threads running…” HOT 1
- Odas Studio unresponsive HOT 2
- npm success ,however npm start fail HOT 3
- ODAS process cannot connect to ODAS Web HOT 2
- Odas Web works but fails to write co-ordinates to text file
- ODAS data do not show after running odas web HOT 2
- npm start crashes HOT 1
- [email protected]~start: Returned: code: 1 signal: null
- I/O error
- How should I configure my odas studio
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odas_web.