dopry/svelte-oidc

Docker build fail

Milos5611 opened this issue · 4 comments

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

@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

@dopry why is this ticket closed?
I am telling you that all packages are fetched ok from git except this one.
This is a bug and has to be investigated.

The error indicates that git can't find your git module which is cloned from another one.