npm安装模块报错-fatal error: gnu/stubs-32.h

尉迟晔
2023-12-01

使用 npm install 安装依赖的时候,报下面错误:

/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory

备注:操作系统环境为centos7.2的环境

解决办法:

yum -y install glibc-devel.i686 libgcc.i686
 类似资料: