WIndows 10上安装node.js包Taunus

Installing node.js package Taunus on WIndows 10

本文关键字:js Taunus node 安装 WIndows      更新时间:2023-10-16

我正在尝试在Windows 10上本地安装Taunus,请遵循操作指南。

  1. 我已经安装了Node.js。我已经安装了Python 2.7.
  2. 我得到一些奇怪的符号错误,一些关于。net和c++。
  3. 我已经安装了最新的windows更新,并试图设置c++分发包

但是最后我仍然得到错误:

vokec@DESKTOP-LQHIC1P MINGW64 /e/dev/getting-started
$ npm install --save taunus taunus-express express
npm WARN package.json getting-started@1.0.0 No description
npm WARN package.json getting-started@1.0.0 No repository field.
npm WARN package.json getting-started@1.0.0 No README data
npm WARN optional dep failed, continuing fsevents@0.3.8
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
> contextify@0.1.14 install E:devgetting-startednode_modulestaunusnode_moduleshgetnode_moduleshtml-mdnode_modulesjsdomnode_modulescontextify
> node-gyp rebuild

E:devgetting-startednode_modulestaunusnode_moduleshgetnode_moduleshtml-mdnode_modulesjsdomnode_modulescontextify>if not defined npm_config_node_gyp (node "C:Program Files (x86)nodejsnode_modulesnpmbinnode-gyp-bin\....node_modulesnode-gypbinnode-gyp.js" rebuild )  else (node  rebuild )
▒▒▒▒஥▒▒▒ ▒஥▒⮢ ▒ ▒⮬ ▒襭▒▒ ▒▒ ▒▒▒▒▒▒. ▒⮡▒ ▒▒▒▒▒▒▒ ▒▒ࠫ▒▒▒쭮▒ ▒▒▒▒஥▒▒▒, ▒▒▒▒▒▒▒ ▒▒ࠬ▒▒▒ "/m".
MSBUILD : error MSB3428: ▒▒▒▒㧪▒ ▒▒▒▒▒▒▒▒▒ Visual C++ "VCBuild.exe" ▒▒▒▒▒▒▒▒▒▒. ▒▒▒ᮡ▒ ▒襭▒▒ ▒஡▒▒▒▒: 1) ▒▒⠭▒▒▒▒ .NET Framework 2.0 SDK, 2) ▒▒⠭▒▒▒▒ Microsoft Visual Studio 2005 ▒▒▒ 3) 㪠▒▒▒▒▒ ▒▒▒▒ ▒▒▒▒▒▒▒▒▒ ▒ ▒▒⥬▒▒▒ ▒▒▒, ▒᫨ ▒▒▒▒▒▒▒▒▒ ▒▒⠭▒▒▒▒▒ ▒ ▒▒㣮▒ ▒▒▒▒.  [E:devgetting-startednode_modulestaunusnode_moduleshgetnode_moduleshtml-mdnode_modulesjsdomnode_modulescontextifybuildbinding.sln]
gyp ERR! build error
gyp ERR! stack Error: `C:WindowsMicrosoft.NETFrameworkv4.0.30319msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:Program Files (x86)nodejsnode_modulesnpmnode_modulesnode-gyplibbuild.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:devgetting-startednode_modulestaunusnode_moduleshgetnode_moduleshtml-mdnode_modulesjsdomnode_modulescontextify
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--save" "taunus" "taunus-express" "express"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! contextify@0.1.14 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     E:devgetting-startednpm-debug.log

安装Microsoft Visual Studio Community Edition并检查c++语言