npm install Error: cloud not get uid/ jellyspot 2021-03-14 约 77 字 预计阅读 1 分钟 次阅读 目录 错误现象 解决方法 参考文档 错误现象 docker build报错如下 解决方法 在npm install之前增加如下命令 1 RUN npm config set unsafe-perm true 参考文档 When installing a package using the node:8-alpine docker image on AWS using an M5 instance type NPM fails with “Error: could not get uid/gid” · Issue #20861 · npm/npm Please enable JavaScript to view the comments powered by Valine.