question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install on docker after 3.3.0/3.3.1

See original GitHub issue
npm 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:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

34reactions
DABHcommented, Jun 22, 2020

All, v3.3.2 has been released, this downloads the forked diagnostics dependency from NPM not GitHub so it should work for you. Please feel free to confirm or deny. Thanks!

20reactions
PierreBrisorgueilcommented, Jun 22, 2020

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found