Giter Site home page Giter Site logo

Problem during installation about odas_web HOT 5 CLOSED

kimchi88 avatar kimchi88 commented on August 16, 2024
Problem during installation

from odas_web.

Comments (5)

kimchi88 avatar kimchi88 commented on August 16, 2024

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
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:
/odas_web-0.2-alpha$ npm start

[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.

kimchi88 avatar kimchi88 commented on August 16, 2024

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]
6 info lifecycle [email protected]
start: [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
start: 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
9 verbose lifecycle [email protected]start: CWD: /home/fse/odas_web-0.2-alpha
10 silly lifecycle [email protected]
start: Args: [ '-c', 'electron .' ]
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.

GodCed avatar GodCed commented on August 16, 2024

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.

kimchi88 avatar kimchi88 commented on August 16, 2024

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.

GodCed avatar GodCed commented on August 16, 2024

Glad to hear that!

from odas_web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.