You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npm install inside 'frontend' docker file, error occurs.
Running with production docker-compose
How to reproduce the problem
$docker pull node:13.1.0
$docker run -it -v ./frontent:/app --entrypoint bash node:13.1.0
root@ac4c6f3a1914:/app# npm install
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 140.82.118.3]: errno=Connection refused
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-16T15_01_20_133Z-debug.log
OR run
root@ac4c6f3a1914:/app# npm install
yarn install v1.19.2
[1/4] Resolving packages...
[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: /app
Output:
fatal: unable to connect to github.com:
github.com[0: 140.82.118.3]: errno=Connection refused
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
What I've tried
To get circumvent this issue I've found that using
https://github.com/adobe-webplatform/eve.git
instead of the git 'protocol' works i.e.
git://github.com/adobe-webplatform/eve.git
However, I'm not sure how to implement a solution to this.
If it is not too difficult, I wouldn't mind a nudge in the right direction and putting up a PR if IT IS a real bug.
Thank you for reporting the issue. It seems to yarn.lock issue that is generated automatically. We can't configure it is yarn bug or your environment (network etc) issue.
Atm there is no URL git://github.com/adobe-webplatform/eve.git, instead we should access the https prefix. The solution is to change all git://github.com/adobe-webplatform/eve.git to https://github.com/adobe-webplatform/eve.git in doccano/frontend/yarn.lock.
When running npm install inside 'frontend' docker file, error occurs.
Running with production docker-compose
How to reproduce the problem
$docker pull node:13.1.0
$docker run -it -v ./frontent:/app --entrypoint bash node:13.1.0
OR run
What I've tried
To get circumvent this issue I've found that using
instead of the git 'protocol' works i.e.
However, I'm not sure how to implement a solution to this.
If it is not too difficult, I wouldn't mind a nudge in the right direction and putting up a PR if IT IS a real bug.
Environment
docker info:
The text was updated successfully, but these errors were encountered: