Error installing jira-to-matrix
dennis-ledergerber opened this issue · comments
Hi
I'm trying to setup the jira-to-matrix bot. We are using matrix-synapse with ma1sd, and I would like to integrate jira..
The server is running on debian 10, but currently I have the following errors when I try to install the package.
npm ERR! prepareGitDep 1>
npm ERR! prepareGitDep > core-js@2.6.9 postinstall /home/nettrust/.npm/_cacache/tmp/git-clone-57321621/node_modules/core-js
npm ERR! prepareGitDep > node scripts/postinstall || echo "ignore"
npm ERR! prepareGitDep
npm ERR! prepareGitDep Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
npm ERR! prepareGitDep
npm ERR! prepareGitDep The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
npm ERR! prepareGitDep > https://opencollective.com/core-js
npm ERR! prepareGitDep > https://www.patreon.com/zloirock
npm ERR! prepareGitDep
npm ERR! prepareGitDep Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep > matrix-js-sdk@2.2.0 prepare /home/nettrust/.npm/_cacache/tmp/git-clone-57321621
npm ERR! prepareGitDep > yarn clean && yarn build && git rev-parse HEAD > git-revision.txt
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep 2> npm WARN install Usage of the --dev
option is deprecated. Use --only=dev
instead.
npm ERR! prepareGitDep sh: 1: yarn: not found
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! syscall spawn
npm ERR! prepareGitDep npm ERR! file sh
npm ERR! prepareGitDep npm ERR! errno ENOENT
npm ERR! prepareGitDep npm ERR! matrix-js-sdk@2.2.0 prepare: yarn clean && yarn build && git rev-parse HEAD > git-revision.txt
npm ERR! prepareGitDep npm ERR! spawn ENOENT
npm ERR! prepareGitDep npm ERR!
npm ERR! prepareGitDep npm ERR! Failed at the matrix-js-sdk@2.2.0 prepare script.
npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! /home/nettrust/.npm/_logs/2019-12-03T14_12_04_876Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close
npm ERR! A complete log of this run can be found in:
npm ERR! /home/nettrust/.npm/_logs/2019-12-03T14_12_07_139Z-debug.log
I unfortunately have little to no experience with nodejs. Which Nodejs and npm do I need to use? Do you have any additional information to install the package? Prerequisites? Do you have a matrix room for jira-to-matrix?
Hello,
How do you run application? From docker? What is a number of node version?
Hi
You need install yarn
Or start app inside docker-conainer from base node image (it already contains npm & yarn)
Oficial Dokerfile Node
Image in DockerHub