Node.js Can';t安装enmap级别(Visual Studio代码-Windows 10)

Node.js Can';t安装enmap级别(Visual Studio代码-Windows 10),node.js,npm,Node.js,Npm,在我的终端中,我在安装enmap level时遇到很多错误。我已经在admin powershell中运行了npm I-g--production windows build tools,在安装enmap level时仍然会遇到很多错误。以下是错误: gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1 g

在我的终端中,我在安装enmap level时遇到很多错误。我已经在admin powershell中运行了
npm I-g--production windows build tools
,在安装enmap level时仍然会遇到很多错误。以下是错误:

gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Ethan\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! cwd C:\Users\Ethan\MultraFresh\node_modules\leveldown
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN multrafresh@1.0.0 No description

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! leveldown@3.0.2 install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the leveldown@3.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
以下是my package.json的外观:

{
  "name": "multrafresh",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Gamerholic/MultraFresh.git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/Gamerholic/MultraFresh/issues"
  },
  "homepage": "https://github.com/Gamerholic/MultraFresh#readme",
  "dependencies": {
    "better-sqlite3": "^7.1.0",
    "discord.js": "^12.2.0",
    "enmap": "^5.3.1",
    "quick.db": "^7.1.1"
  }
}

如果有人能帮助我,我将不胜感激。谢谢

版本4及更高版本不再支持enmap级别。因为您使用的是enmap 5和BERTER-sqlite3,所以enmap级别对您没有任何用处

(免责声明:我是Enmap的作者)