Cannot install on docker after 3.3.0/3.3.1
See original GitHub issuenpm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/DABH/diagnostics.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.
npm ERR! enoent
Looks like this is related with #1813, and it still happens when trying to install on docker with nodejs 12.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:23 (6 by maintainers)
Top Results From Across the Web
Install Docker Engine on Ubuntu
If you can't use Docker's apt repository to install Docker Engine, you can download the deb file for ... Upgrade Docker after using...
Read more >Docker Install Failure on Windows #9758 - GitHub
I see at least one previously closed issue with this exact error. Windows 10 x64. The process cannot access the file 'C:\Program Files\Docker\ ......
Read more >Cannot "pip install cryptography" in Docker Alpine Linux 3.3 ...
I need to use pip install cryptography in a Docker container running Alpine Linux. Actually, it's another module, service_identity , but the ......
Read more >How To Install and Use Docker Compose on Ubuntu 22.04
The stop command will terminate the container execution, but it won't destroy any data associated with your containers: docker compose stop.
Read more >How to Resolve the “cannot connect to the Docker daemon ...
Users new to Docker may find it difficult to use as they often encounter an issue right after installing it. The “cannot connect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All,
v3.3.2
has been released, this downloads the forkeddiagnostics
dependency from NPM not GitHub so it should work for you. Please feel free to confirm or deny. Thanks!@DABH @Kivol
hum, yep, I understand, Thx 😃
For me the solution remains temporary and the issue should not be closed.
An NPM package should not require git for installation but only npm. If you use a FORK from another package because this one does not correspond to your need. I think this FORK must be integrated at the source or become a project maintained for Winston and therefore published as you suggested. It would be quite strange to impose the installation of git or any other tools for the installation of an npm package, for hundreds docker image. Images and process must be as lite as possible