Ошибки при установке гипсокартона


0

Я пытаюсь установить гипсокартон и получаю много ошибок

C:\Users\zach\Desktop\Node.js\drywall\node_modules\bcrypt>if not defined npm_con      fig_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\.      .\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT       HON env variable.
gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\nod          e_modules\node-gyp\lib\configure.js:116:14) 
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node          -gyp\lib\configure.js:71:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodej      s\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\zach\Desktop\Node.js\drywall\node_modules\bcrypt
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\               node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE

npm ERR! bcrypt@0.8.5 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt 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 bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\zach\Desktop\Node.js\drywall\npm-debug.log

Должен ли я беспокоиться о любом из них? Если кто-нибудь знает руководство по устранению этих ошибок (я много искал и не могу его найти), пожалуйста, дайте мне знать. Спасибо!

Ответы:


0

Похоже, что этап настройки / установки для bcrypt не выполняется из-за отсутствия зависимости от python.

Гипер ERR! Ошибка стека: Не удается найти исполняемый файл Python "python", вы можете установить переменную PYT HON ​​env.

bcrypt0.8.5 имеет следующие зависимости,

  • NodeJs
  • Узел-мошенник
  • Python 2.x
  • OpenSSL

-Источник

Убедитесь, что все зависимости bcrypts установлены, и повторите попытку.


БЛАГОДАРЮ ВАС! На странице гипсокартона github я видел информацию только о 2 из этих зависимостей. Это очень мне помогает, и я обязательно скажу это, когда получу репутацию!
Зак Конон
Используя наш сайт, вы подтверждаете, что прочитали и поняли нашу Политику в отношении файлов cookie и Политику конфиденциальности.
Licensed under cc by-sa 3.0 with attribution required.