Для тестирования Firefox добавить единицы, которые мне нужно установить addons-linter с помощью этой команды:
, протестировав его по этой инструкции:
Проверка
Выполнить npm test
. Это будет следить за изменениями файлов и перезапускать набор тестов.
я получаю эти выходные данные:
npm run test
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
/usr/bin/nodejs: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by /usr/bin/nodejs)
> addons-linter@1.21.0 test /home/so/Desktop/trash/latex/addons-linter
> jest --runInBand --watch 'tests/.*'
node: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by node)
node: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by node)
node: /lib/x86_64-linux-gnu/libssl.so.1.0.0: no version information available (required by node)
node: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by node)
node: /lib/x86_64-linux-gnu/libcrypto.so.1.0.0: no version information available (required by node)
Error: watch /home/so/Desktop/trash/latex/addons-linter/node_modules/es-to-primitive/.github ENOSPC
at _errnoException (util.js:1022:11)
at FSWatcher.start (fs.js:1382:19)
at Object.fs.watch (fs.js:1408:11)
at NodeWatcher.watchdir (/home/so/Desktop/trash/latex/addons-linter/node_modules/sane/src/node_watcher.js:159:22)
at Walker.<anonymous> (/home/so/Desktop/trash/latex/addons-linter/node_modules/sane/src/common.js:109:31)
at emitTwo (events.js:126:13)
at Walker.emit (events.js:214:7)
at /home/so/Desktop/trash/latex/addons-linter/node_modules/walker/lib/walker.js:69:16
at go$readdir$cb (/home/so/Desktop/trash/latex/addons-linter/node_modules/graceful-fs/graceful-fs.js:187:14)
at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! Linux 5.3.0-26-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "test"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! addons-linter@1.21.0 test: `jest --runInBand --watch 'tests/.*'`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the addons-linter@1.21.0 test script 'jest --runInBand --watch 'tests/.*''.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the addons-linter package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! jest --runInBand --watch 'tests/.*'
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs addons-linter
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls addons-linter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/so/Desktop/trash/latex/addons-linter/npm-debug.log
, и это файл журнала:
cat /home/so/Desktop/trash/latex/addons-linter/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'test' ]
2 info using npm@3.5.2
3 info using node@v8.10.0
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle addons-linter@1.21.0~pretest: addons-linter@1.21.0
6 silly lifecycle addons-linter@1.21.0~pretest: no script for pretest, continuing
7 info lifecycle addons-linter@1.21.0~test: addons-linter@1.21.0
8 verbose lifecycle addons-linter@1.21.0~test: unsafe-perm in lifecycle true
9 verbose lifecycle addons-linter@1.21.0~test: PATH: /usr/share/npm/bin/node-gyp-bin:/home/so/Desktop/trash/latex/addons-linter/node_modules/.bin:/home/so/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/so/.local/bin
10 verbose lifecycle addons-linter@1.21.0~test: CWD: /home/so/Desktop/trash/latex/addons-linter
11 silly lifecycle addons-linter@1.21.0~test: Args: [ '-c', 'jest --runInBand --watch \'tests/.*\'' ]
12 silly lifecycle addons-linter@1.21.0~test: Returned: code: 1 signal: null
13 info lifecycle addons-linter@1.21.0~test: Failed to exec test script
14 verbose stack Error: addons-linter@1.21.0 test: `jest --runInBand --watch 'tests/.*'`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:126:13)
14 verbose stack at EventEmitter.emit (events.js:214:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:126:13)
14 verbose stack at ChildProcess.emit (events.js:214:7)
14 verbose stack at maybeClose (internal/child_process.js:925:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
15 verbose pkgid addons-linter@1.21.0
16 verbose cwd /home/so/Desktop/trash/latex/addons-linter
17 error Linux 5.3.0-26-generic
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "test"
19 error node v8.10.0
20 error npm v3.5.2
21 error code ELIFECYCLE
22 error addons-linter@1.21.0 test: `jest --runInBand --watch 'tests/.*'`
22 error Exit status 1
23 error Failed at the addons-linter@1.21.0 test script 'jest --runInBand --watch 'tests/.*''.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the addons-linter package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error jest --runInBand --watch 'tests/.*'
23 error You can get information on how to open an issue for this project with:
23 error npm bugs addons-linter
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls addons-linter
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
Спасибо.