node Error: Could not locate the bindings file. Tried:

发布时间:2019-10-11编辑:admin阅读(2791)

重装系统后把nodejs项目中的node_modules文件夹手动删除,想重新安装,但是中间在安装一个模块的时候报错

Error: Could not locate the bindings file. Tried:

一直安装不上,经过不断尝试终于解决了。

1、安装Python2。

2、安装node模块。

npm install --global --production windows-build-tools
npm install -g node-gyp

3、还有就是要到控制面板将.NET安装上去。

  关键字:nodeErrorCould not locate the bindings file. Tried


鼓掌

2

正能量

0

0

呵呵

0


评论区