ubuntu上的本机模块编译错误,用于电子项目上的node
我试图在电子项目中使用。
当我尝试构建它时,会给我以下错误。
g ++:错误:/home/username/.electron-gyp/.node-gyp/4.0.0/deps/openssl/openssl/lib/libcrypto.a:没有这样的文件或目录nodessl.target.mk:167:recipe for目标'Release / obj.target / nodessl.node'失败
此模块在仅节点项目中正常工作。
回答如下:似乎缺少openssl依赖,是否安装了依赖项?
ubuntu上的本机模块编译错误,用于电子项目上的node
我试图在电子项目中使用。
当我尝试构建它时,会给我以下错误。
g ++:错误:/home/username/.electron-gyp/.node-gyp/4.0.0/deps/openssl/openssl/lib/libcrypto.a:没有这样的文件或目录nodessl.target.mk:167:recipe for目标'Release / obj.target / nodessl.node'失败
此模块在仅节点项目中正常工作。
回答如下:似乎缺少openssl依赖,是否安装了依赖项?