Error installing node-gyp on ubuntu

前端 未结 12 1080
执念已碎
执念已碎 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:49

    In my-case it was failing on Linux-mint 19.2, for some reasons on run-time gcc++ was not accessible. So by installing the build-essentials error was resolved. PS:

    build-essential package is a reference for all the packages needed to compile a Debian packages. It generally includes the GCC/g++ compilers and libraries and some other utilities. Informational for list of build-essential packages can be found on build-essentials

提交回复
热议问题