Docker build fail
Milos5611 opened this issue · 4 comments
Milos5611 commented
Trying to build a docker image of my svelte app.
Throwing error
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/dopry/oidc-client-js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
dopry commented
This looks like an issue with npm, your network, or your package.json. I'd
suggest asking for help in an npm forum.
…On Wed, Sep 2, 2020, 2:49 AM Milos Nikolic ***@***.***> wrote:
Trying to build a docker image of my svelte app.
Throwing error
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ***@***.***/dopry/oidc-client-js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC6UODBXNDL23ALWUS5W33SDXTIJANCNFSM4QSUSQOA>
.
Milos5611 commented
@dopry checked a number of times since yesterday.
npm install
do the job for every module in package JSON except for this one.
It's still failing and at the end of development, I can't build a project and deploy.
dopry commented
Is git installed on your build agent? The error indicates npm couldn't find
git to download the oidc-client-js module.
…On Thu, Sep 3, 2020, 6:25 AM Milos Nikolic ***@***.***> wrote:
@dopry <https://github.com/dopry> checked a number of times since
yesterday.
npm install do the job for every module in package JSON except for this
one.
It's still failing and at the end of development, I can't build a project
and deploy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC6UOHYE77SKIF4553ZUR3SD5VIXANCNFSM4QSUSQOA>
.