Error installing node-gyp on ubuntu

前端 未结 12 1079
执念已碎
执念已碎 2020-12-02 09:39
npm http 200 https://registry.npmjs.org/weak/-/weak-0.2.2.tgz
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings

>         


        
12条回答
  •  北海茫月
    2020-12-02 09:47

    If the error is due to " fatal error: dns_sd.h: No such file or directory 32 | #include ", solve it by

    " sudo apt-get install libavahi-compat-libdnssd-dev " , else if it is due to python2 follow @Manish Jangir method

提交回复
热议问题