Error "npm ERR! Refusing to delete /src/node_modules/.bin/tslint: is outside /src/node_modules/tslint and not a link" when docker-compose up

Hey everyone,

I’m having an issue when trying to run docker-compose up that has me stuck. Here is my setup:

OS: Windows 10
App: Angular 4 app
Steps to reproduce:
My dockerfile:

FROM node:latest
RUN mkdir /src
COPY package.json /src
RUN npm install
COPY . /src
EXPOSE 40100
CMD [“npm”, “start”]

My Docker-compose.yml file:

version: “2”
build: .
- “40100:40100”
command: bash -c “npm install && npm run start:docker”

The error I’m receiving:

Any help would be amazing :slight_smile: