Category : npm-install

I created a Dockerfile.dev to run npm install. When it moves to that step, npm run install haults after a certain time and generates this error message: npm ERR! code EAI_AGAIN npm ERR! syscall getaddrinfo npm ERR! errno EAI_AGAIN npm ERR! request to https://registry.npmjs.org/@testing-library%2fjest-dom failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org What is the reason behind this? ..

Read more

I have been using this Dockerfile for several months without an issue. But suddenly when trying to build this docker image, I get a Node JS error with mongo-client-encryption package. Dockerfile FROM node:8.15.0 ENV CPUCOUNT 1 RUN CPUCOUNT=$(cat /proc/cpuinfo | grep ‘^processor.*:’ | wc -l) RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y cmake wget ..

Read more

how are you? I’m running a dockerfile, the problem is that I have to (during the process) modify my .npmrc folder and I don’t know how I could do it from the dockerfile. i need to modify (add or modify) this: @lala:registry=https://npm.pkg.github.com/ //npm.pkg.github.com/:_authToken=alalalala //registry.npmjs.org/:_authToken=lalala my dockerFile: FROM node:lts as dependencies WORKDIR /emercore-arg-manager COPY package.json yarn.lock ..

Read more

My teammate has registered some packages in Gitlab npm registry and now I wanna install them with Docker in my system. Everything is working correctly in my teammate system which is Windows and I’m using Mac M1. my package.json file has the below code : "dependencies": { "@googleapis/calendar": "0.2.0", "@rove-team/back-core": "1.0.0", "@rove-team/front-core": "1.0.5-react", "@rove-team/library-requester": "1.0.0", ..

Read more

During Docker build in Gitlab job pipeline the process is freezed on [email protected] install /app/node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.6/libvips-8.10.6-linux-x64.tar.br After 1 hour buil is killed by timeout. Dockerfile: FROM node:14.17.0 WORKDIR /app ARG NODE_ENV=dev ENV NODE_ENV $NODE_ENV ENV PORT 3005 ..

Read more

The latest official parse-server docker image no longer contains S3 File Adapter according to this post. So I am creating a new image. My Dockerfile – FROM parseplatform/parse-server USER root WORKDIR /parse-server RUN npm install –save @parse/s3-files-adapter USER node After building – docker build -t my_parse . The resulting docker image is twice the size ..

Read more