Npm 不会安装 quick.db,返回这些错误 [英] Npm won't install quick.db, returns these errors
本文介绍了Npm 不会安装 quick.db,返回这些错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为我的 discord.js bot 安装 quick.db,当我尝试通过运行以下两个命令进行安装时:
I am trying to install quick.db for my discord.js bot, and when I attempted installing by running these two commands:
npm -g --add-python-to-path install windows-build-tools node-gyp
和
npm i quick.db
它返回我这个错误
这是日志
有人知道如何解决这个问题吗?
Does anyone know how to fix this?
推荐答案
我终于解决了!您所要做的就是单击安装程序中 Visual Studio Community 下的修改,转到使用 C++ 进行桌面开发"的下拉列表,然后选中标记为VC++ 2015.3 v14.00 (v140) 桌面工具集"的框并安装它!
I finally managed to fix it! All you have to do is click modify under Visual Studio Community in the installer, go to the dropdown list in "Desktop Development with C++" and check the box marked "VC++ 2015.3 v14.00 (v140) toolset for desktop" and install it!
我找到了这个解决方案 在这里!
I found this solution here!
这篇关于Npm 不会安装 quick.db,返回这些错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文