skip to Main Content

Docker & Nodejs – ReferenceError: TextEncoder is not defined

I'm encountering the following error while trying to launch my docker container: Error: server_1 | /usr/src/app/node_modules/whatwg-url/lib/encoding.js:2 server_1 | const utf8Encoder = new TextEncoder(); server_1 | ^ server_1 | server_1 | ReferenceError: TextEncoder is not defined Dockerfile: FROM --platform=linux/amd64 node:current-alpine WORKDIR…

VIEW QUESTION
Back To Top
Search