tuwien-csd / damap-frontend

MIT License
9 stars 9 forks source link

Fix Permission Denied Error During Docker Build with npm Installation #186

Closed lpandath closed 2 months ago

lpandath commented 2 months ago

Describe the bug Encountered a EACCES: permission denied error during the Docker build for the DAMAP-frontend project due to npm install --ignore-scripts. Resolved by switching to npm ci --ignore-scripts, which avoids permission issues and ensures successful Docker image creation.

Is this a regression? Yes/No.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context Add any other context about the problem here.