npm install mongoose causes gyp and kerberos errors (gssapi/gssapi.h file not found)

后端 未结 2 1332
鱼传尺愫
鱼传尺愫 2020-12-14 03:09

Ubuntu 14.04

nodejs version is v4.1.1 installed with these commands:

curl -sL https://deb.nodesour         


        
相关标签:
2条回答
  • 2020-12-14 03:27

    Try installing the Kerberos Development Package:

    apt-get install libkrb5-dev
    
    0 讨论(0)
  • 2020-12-14 03:41

    Solution for Dockerfile don't miss apt-get update

    RUN apt-get update
    RUN apt-get install -y libkrb5-dev
    

    Because you have an error.

    E: Package 'libkrb5-dev' has no installation candidate
    
    0 讨论(0)
提交回复
热议问题