cli icon indicating copy to clipboard operation
cli copied to clipboard

[BUG] Run npm ci fails from dockerfile

Open DevHasher opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

This issue exists in the latest npm version

  • [X] I am using the latest npm

Current Behavior

image I'm running docker in my windows and the dockerfile code looks like the code on the above in attached image On running 'docker-compose up -d --build', i get the error as shown in the attached image on the bottom

Below is the data from log file image

Expected Behavior

The build should pass and container should get created

Steps To Reproduce

No response

Environment

  • npm: 10.5.0
  • Node.js: 20.12.0
  • OS Name: Windows 11
  • System Model Name: Dell precision
  • npm config: node bin location = C:\Program Files\nodejs\node.exe ; node version = v20.12.0 ; npm local prefix = C:\Users\XXXXX\XXXXXXXXX\Documents\Proj\Proj1Repo\server ; npm version = 10.5.0

DevHasher avatar Jul 24 '24 08:07 DevHasher

@DevHasher This error can arise for a number of reasons; Please read this document & provide as much information (package.json, package-lock.json, logs etc) as possible if you're able to consistently reproduce this error.

milaninfy avatar Jul 24 '24 13:07 milaninfy

Closing due to age. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.

milaninfy avatar Jul 31 '24 12:07 milaninfy