node.js + jpm não funciona após a instalação: JPM [error] Erro: spawn EACCES

2

Estou mudando de cfx para jpm Depois de instalar o node.js por sudo apt-get install nodejs , instalei o jpm: npm install jpm -g . Agora estou tentando executar meu addon: jpm run -v :

JPM [info] verbose set
JPM [info] Starting jpm run on Yandex translate - from anything to Russian (or from Russian to English)
JPM [info] Checking compatability bootstrap.js and install.rdf for xpi
Validating the manifest
JPM [warning] The 'version' entry must be specified, and it should follow semantic
versioning rules. For example, it must be a string containing three
values indicating major, minor, and patch versions. For example:

"1.4.56"
"0.0.1"
"1.0.0rc4"

http://semver.org

JPM [info] Creating fallbacks if they are necessary..
Creating XPI
JPM [info] Creating XPI...
JPM [warning] .jpmignore does not exist, fallback to use default filter rules
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/data
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/LICENSE
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/README.md
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/bootstrap.js
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/extension-yandex-translate.iml
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/index.js
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/install.rdf
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/package.json
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-ch-ru-long.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-ch-ru.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-en-ru-popup.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-en-ru.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-ru-en.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/yandex-translate-in-context.xpi
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/screenshot-hover.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/data/ico.png
JPM [info] Adding: /home/vitaly/Desktop/my-projects/extension-yandex-translate/data/script.js
JPM [info] XPI created at /tmp/[email protected] (504ms)
JPM [info] Removing fallbacks if they were necessary..
Created XPI at /tmp/[email protected]
JPM [info] Creating a new profile
JPM [info] Using temporary profile at
JPM [info]     /tmp/88631898-23e2-4ff0-9a8c-3d8da026ca6d
JPM [info] Executing Firefox binary: /usr/lib/firefox
JPM [info] Executing Firefox with args: -foreground,-no-remote,-profile,/tmp/88631898-23e2-4ff0-9a8c-3d8da026ca6d
JPM [error] Error: spawn EACCES
JPM [error] Error: spawn EACCES

Eu acho que preciso fazer chmod +x para algum arquivo de node.js, mas o que é arquivo?

Além disso, meu package.json tem a linha "version: 1.4" e com xfc tudo correto.

    
por Vitaly Zdanevich 08.08.2015 / 11:44

1 resposta

2

Este é um bug no JPM .

Você pode executar seu complemento com jpm com o seguinte comando:

jpm run -b $(which firefox)

$(which firefox) obtém o caminho para o seu binário do firefox.

    
por antoyo 18.08.2015 / 03:21