common.gypi not found error in node.js

前端 未结 2 656
轻奢々
轻奢々 2021-01-08 00:49

I am trying to \"node-gyp configure\" to try to get the ms sql server driver. However, initially it said binding.gypi was missing or something to that effect. Now however it

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-08 01:35

    Seems to be a common issue these days.

    You can check https://github.com/TooTallNate/node-gyp/issues/313 and https://github.com/TooTallNate/node-gyp/issues/376 to see if any of these solutions solve your issue.

    Particularly, you can:

    • Remove old dir ~/.node_gyp and run npm install

    • Copy an older version (ex: ~/.node-gyp/0.10.11/) to the complying path.

    • Copy the latest version to the complying path.

    • Chime in this thread to get help.

提交回复
热议问题