tuwien-csd / damap-frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix Permission Denied Error During Docker Build with npm Installation

lpandath opened this issue · comments

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

  • Browser [e.g. firefox, chrome]
  • Damap version [e.g. 2.1.0]

Additional context
Add any other context about the problem here.