我已经尝试了这里的一切-
但我似乎无法让它运作起来。无论何时我尝试npm安装——保存ursa,它都会失败。
我的错误是
C:\Users\Journey\Desktop\Encrypt\node_modules\ursa>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
ursaNative.cc
win_delay_load_hook.cc
..\src\ursaNative.cc(157): warning C4244: 'argument': conversion from 'ssize_t' to 'int', possible loss of data [C:\Users\Journey\Desktop\Encrypt\node_modul es\ursa\build\ursaNative.vcxproj]
..\src\ursaNative.cc(172): warning C4244: 'argument': conversion from 'ssize_t' to 'int', possible loss of data [C:\Users\Journey\Desktop\Encrypt\node_modul es\ursa\build\ursaNative.vcxproj]
LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib' [C:\Users\Journey\Desktop\Encrypt\node_modules\ursa\build\ursaNative. vcxproj]
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Journey\Desktop\Encrypt\node_modules\ursa
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN encrypt@1.0.0 No description
npm WARN encrypt@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ursa@0.9.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ursa@0.9.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Journey\AppData\Roaming\npm-cache\_logs\2018-04-05T01_48_33_626Z-debug.log
我尝试在Windows 10上安装Node时遇到一些问题,并找到了解决方案。 错误如下: C:\Users\Stephan 解决方案如下。
我想通过节点JS连接oracle db。为此,我尝试安装node-oracledb模块。 npm错误!此运行的完整日志可以在以下位置找到:npm err! C:\users\appdata\roaming\npm-cache_logs\2019-04-09t06_36_44_005z-debug.log 我不明白为什么需要python依赖关系才能与oracle DB连接?又该怎么做呢?
当我尝试使用npm安装节点sass时,会收到以下错误消息: 无法下载“https://github.com/sass/node-sass/releases/download/v3.13.1/win32-x64-57_binding.node":" 我使用的命令是: 您可以在下面的屏幕截图中看到更多详细信息:
我已经做了很多研究,但在这里空空如也。这是一个又长又丑的IMO。我绝对可以浏览到并成功下载错误中首次引用tar.gz。我所有其他的NPM安装都运行良好。我不是SQLite3的超级粉丝,但我有一个项目需要演示给一些同事。任何帮助得到安装将非常感谢。 sqlite3@3.1.6安装C:\ws\linked10\linkedout\node_modules\sqlite3 node-pre-gyp安装-
我正在学习如何使用NodeJS的express框架。使用安装express时遇到问题