Closed looles closed 2 months ago
Hi, thanks for posting this issue. Looks like commands to install appropriate dependency was unsuccessful. Are you running this from China? —— I am also traveling in China right now therefore unable to spend too much effort on resolving this. But I expect this to be resolved if a VPN is used.
Yes, currently experiencing a lot of problems because of this, thanks to Dr Huai for his help!
I also encountered the same problem. I added RUN npm config set registry https://registry.npmmirror.com
before RUN npm install
in the server/Dockerfile
and client/Dockerfile
files to solve it. For example, my client/Dockerfile
is as follows
FROM node
WORKDIR /app
ADD package.json /app
ADD package-lock.json /app
RUN npm config set registry https://registry.npmmirror.com
RUN npm install
COPY ./ /app
RUN npm run build --production
RUN npm install -g serve
CMD serve -s build
EXPOSE 3000
Looks like this has became a common issue and many of you have managed to solve it.
Hello Dr Huai, thank you very much for doing this work, I am having a problem with the installation as shown in the picture above, can you help me out? Thank you very much for your help!