Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected]~start: Returned: code: 1 signal: null #90

Open
ping891221 opened this issue Jul 29, 2023 · 0 comments
Open

[email protected]~start: Returned: code: 1 signal: null #90

ping891221 opened this issue Jul 29, 2023 · 0 comments

Comments

@ping891221
Copy link

The following is my error message:

google@raspberrypi:~/Desktop/odas_web $ npm start

> [email protected] start /home/google/Desktop/odas_web
> electron .


(electron:35503): Gtk-WARNING **: 23:03:25.467: cannot open display:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `electron .`
npm ERR! Exit status 1
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/google/.npm/_logs/2023-07-29T15_03_25_554Z-debug.log

I am using ReSpeaker_4_Mic_Array on Raspberry Pi, following the tutorial at https://wiki.seeedstudio.com/ReSpeaker_4_Mic_Array_for_Raspberry_Pi/#record-sound-with-python. To start ODAS Studio, I run npm start, but I receive an error.

I have tried the following commands:

rm -rf node_modules 
rm package-lock.json yarn.lock 
npm cache clear --force
npm install

or

npm update
and

npm install webpack --save
but I still encounter the error.

This is my error log:

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:/h>9 verbose lifecycle [email protected]~start: CWD: /home/google/Desktop/odas_web
10 silly lifecycle [email protected]~start: Args: [ '-c', 'electron .' ]
11 silly lifecycle [email protected]~start: Returned: code: 1  signal: null
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: `electron .`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:314:20)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:>13 verbose stack     at ChildProcess.emit (events.js:314:20)
13 verbose stack     at maybeClose (internal/child_process.js:1022:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/google/Desktop/odas_web
16 verbose Linux 6.1.21-v8+

Please help me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant