簡體   English   中英

無法在Linux中安裝Node-Expat

[英]Unable to install node-expat in Linux

我正在嘗試在RHEL上運行的CI服務器中安裝Node項目的依賴項。 當我運行npm install時,出現以下錯誤

> node-expat@2.3.16 install 
/var/lib/jenkins/jobs/tryout/workspace/myproject/node_modules/node-expat
> node-gyp rebuild

make ✖ ERR  Missing Makefile / Bakefile 
make ℹ info Run "make init" to generate a Makefile.

節點v7.10.0

NPM v5.4.2

節點擴展v2.3.16

重新安裝NodeJS 8.0版為我解決了這個問題。

FTR: make ✖ ERR Missing Makefile / Bakefile是名為make的npm軟件包的輸出。 將其包含在PATH中會混淆node-gyp並破壞構建。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM