php-assistant icon indicating copy to clipboard operation
php-assistant copied to clipboard

Problema para executar

Open felipeminello opened this issue 9 years ago • 3 comments

Quando executo o comando

npm run dev ou npm start

Ocorre um erro com o electron, e saí o seguinte no log:

12 error Linux 3.16.0-4-amd64
13 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "dev"
14 error node v4.4.5
15 error npm  v2.15.5
16 error file sh
17 error code ELIFECYCLE
18 error errno ENOENT
19 error syscall spawn
20 error @ dev: `electron ./app --debug`
20 error spawn ENOENT
21 error Failed at the @ dev script 'electron ./app --debug'.
21 error This is most likely a problem with the  package,
21 error not with npm itself.
21 error Tell the author that this fails on your system:
21 error     electron ./app --debug
21 error You can get information on how to open an issue for this project with:
21 error     npm bugs
21 error Or if that isn't available, you can get their info via:
21 error
21 error     npm owner ls
21 error There is likely additional logging output above.
22 verbose exit [ 1, true ]

Alguém sabe como resolver?

felipeminello avatar Jun 17 '16 21:06 felipeminello

Rodou o npm install antes?

rafajaques avatar Jun 17 '16 21:06 rafajaques

Sim,

Segui os paços do Readme..

Em sexta-feira, 17 de junho de 2016, Rafael Jaques [email protected] escreveu:

Rodou o npm install antes?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafajaques/php-assistant/issues/120#issuecomment-226884807, or mute the thread https://github.com/notifications/unsubscribe/AADUCuJ8t7-w29Q3h_5pzf12mQQJ2O2eks5qMxAggaJpZM4I4vJ5 .

felipeminello avatar Jun 17 '16 22:06 felipeminello

Experimenta rodar npm run dist:linux64. Isso deve gerar um diretório com a versão pra linux compilada. Tenta executar por ela.

rafajaques avatar Jun 18 '16 11:06 rafajaques