Top.Mail.Ru
Ответы

Хочу установить пакет, но выходит много ошибок node.js

Что делать?
C:\\Users\\Rsht\\AppData\\Local\\node-gyp\\Cache\\12.17.0\\x64\\node.lib : fatal error LNK1127: library is corrupt [C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3\build\better_sqlit
e3.vcxproj]
test_extension.c
win_delay_load_hook.cc
Creating library C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3\build\Release\test_extension.lib and object C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3\build\
Release\test_extension.exp
test_extension.vcxproj -> C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3\build\Release\\test_extension.node
test_extension.vcxproj -> C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3\build\Release\test_extension.pdb (Full PDB)
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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 6.1.7601
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" "--release"
gyp ERR! cwd C:\Users\Rsht\Desktop\MonopolyBot\node_modules\better-sqlite3
gyp ERR! node -v v12.17.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.0 build-release: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.0 build-release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Rsht\AppData\Roaming\npm-cache\_logs\2020-07-31T08_52_42_215Z-debug.log
npm WARN monopolybot@1.0.0 No description
npm WARN monopolybot@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.0 install: `prebuild-install || npm run build-release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.0 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\Rsht\AppData\Roaming\npm-cache\_logs\2020-07-31T08_52_42_687Z-debug.log

Только авторизированные пользователи могут оставлять свои ответы
Дата
Популярность
Аватар пользователя
Новичок

показать эти ошибки.