Code node external node error

I use docxtemplater but since the v2 i cannot work with it anymore i get the Cannot assign to read only property ‘constructor’ of object ‘[object Object]’ error.

I have a docker compose file and a Dockerfile.

In the dockerfile i have the install command for dockxtemplater and pizzip:

FROM n8nio/n8n:latest
USER root
RUN npm install -g npm@latest
RUN npm install -g pizzip docxtemplater &&
npm cache clean --force
USER node

Anyone have any idea?

You need to set environment variables N8N_RUNNERS_ALLOW_PROTOTYPE_MUTATION=true

Still having the same issue