npm错误!哎呀!安装带气口的模块时不正常

npm错误!哎呀!安装带气口的模块时不正常,npm,gulp,npm-install,node-gyp,Npm,Gulp,Npm Install,Node Gyp,我有一个package.json,其中包含以下依赖项: "devDependencies": { "@babel/core": "^7.7.4", "@babel/preset-env": "^7.7.4", "autoprefixer": "^9.7.3", "babel": "^6.23.

我有一个package.json,其中包含以下依赖项:

  "devDependencies": {
    "@babel/core": "^7.7.4",
    "@babel/preset-env": "^7.7.4",
    "autoprefixer": "^9.7.3",
    "babel": "^6.23.0",
    "babel-core": "^6.26.3",
    "babel-loader": "^8.0.6",
    "browser-sync": "^2.26.7",
    "core-js": "^3.4.2",
    "gulp": "^4.0.2",
    "gulp-clean-css": "^4.2.0",
    "gulp-postcss": "^8.0.0",
    "gulp-sass": "^4.0.2",
    "webpack": "^4.41.2",
    "webpack-stream": "^5.2.1"
  }
}

我的节点和npm是最新的。 但当我运行npm安装时,会出现如下错误:

npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! path C:\Users\Acer\AppData\Roaming\npm\node_modules\windows-build-tools
 installation...
npm ERR! Please restart this script from an administrative PowerShell!
npm ERR! The build tools cannot be installed without administrative rights.
npm ERR! To fix, right-click on PowerShell and run "as Administrator".


npm ERR! gyp ERR! node -v v16.0.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1


如何解决此问题?

您可以发布您的节点验证吗?你喜欢什么样的环境?(如操作系统等)是否安装了python?ifnyes wich版本?