eligrey / eligrey/FileSaver.js

npm ci error : “Host key verification failed.

Open
#706 8 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22k
Forks
4.3k
PR merge metrics
No merged PRs in 30d

Description

i am building docker image for angular webapp in ubuntu 20.04 AWS server
this is docker file
FROM node:14.*.* AS node

RUN rm -rf node_modules

WORKDIR /app/
COPY . /app/

RUN npm ci
during RUN npm ci , am etting following error

Step 6/11 : RUN npm ci
---> Running in 4a7c8a99eada
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.git
npm ERR!
npm ERR! Host key verification failed.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
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/2021-06-06T03_18_28_013Z-debug.log
The command '/bin/sh -c npm ci' returned a non-zero code: 1

how to reslove it

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.