gpt4 book ai didi

jhipster - npm install -g generator-jhipster Windows 问题与 python

转载 作者:行者123 更新时间:2023-12-01 23:32:35 30 4
gpt4 key购买 nike

我现在真的必须在 Windows 上安装 Python 才能使用 jhipster ???
一个月前,python 还没有问题。

D:\Perso\missa>npm install -g generator-jhipster-> fidonet-mailer-binkp-crypt@0.0.21 install C:\Users\A10282\AppData\Roaming\npmnode_modules\generator-jhipster\node_modules\yeoman-generator\node_modules\downoad\node_modules\decompress\node_modules\decompress-unzip\node_modules\adm-zip\ode_modules\fidonet-mailer-binkp-crypt> node-gyp configure build\C:\Users\A10282\AppData\Roaming\npm\node_modules\generator-jhipster\node_module\yeoman-generator\node_modules\download\node_modules\decompress\node_modules\deompress-unzip\node_modules\adm-zip\node_modules\fidonet-mailer-binkp-crypt>node"C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\ode-gyp\bin\node-gyp.js" configure buildgyp ERR! configure errorgyp ERR! stack Error: Can't find Python executable "python", you can set the PYHON env variable.gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\noe_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\nod-gyp\lib\configure.js:64:11gyp ERR! stack     at FSReqWrap.oncomplete (evalmachine.:99:15)gyp ERR! System Windows_NT 6.1.7601gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modles\\node-gyp\\bin\\node-gyp.js" "configure" "build"gyp ERR! cwd C:\Users\A10282\AppData\Roaming\npm\node_modules\generator-jhipste\node_modules\yeoman-generator\node_modules\download\node_modules\decompress\noe_modules\decompress-unzip\node_modules\adm-zip\node_modules\fidonet-mailer-binp-cryptgyp ERR! node -v v0.12.0gyp ERR! node-gyp -v v1.0.2gyp ERR! not oknpm ERR! Windows_NT 6.1.7601npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodej\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-jhipster"npm ERR! node v0.12.0npm ERR! npm  v2.5.1npm ERR! code ELIFECYCLEnpm ERR! fidonet-mailer-binkp-crypt@0.0.21 install: `node-gyp configure build`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the fidonet-mailer-binkp-crypt@0.0.21 install script 'node-gp configure build'.npm ERR! This is most likely a problem with the fidonet-mailer-binkp-crypt packge,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR!     node-gyp configure buildnpm ERR! You can get their info via:npm ERR!     npm owner ls fidonet-mailer-binkp-cryptnpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR!     D:\Perso\missa\npm-debug.log

最佳答案

是因为adm-zip包中新增了一个依赖: https://github.com/cthackers/adm-zip/issues/121

解决方法:npm install --save-dev --save-exact adm-zip@0.4.4

关于jhipster - npm install -g generator-jhipster Windows 问题与 python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28411206/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com