在Windows计算机上安装bcrypt-nodejs时遇到一些问题,不是bcrypt,而是bcrypt-nodejs,这是一个不同的依赖项。
我完成POD_HOST=$(kubectl get pod $POD_NAME --template={{.status.podIP}})
npm install bcrypt-node.js
当我继续尝试通过执行 C:\web_dev_root_folder\facerecognitionbrain>npm install bcrypt-nodejs
npm WARN ts-pnp@1.0.1 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ bcrypt-nodejs@0.0.3
updated 1 package and audited 36348 packages in 31.525s
found 63 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
运行脚本时,我得到:
npm start
任何解决方案将不胜感激。
答案 0 :(得分:0)
您是否在错误的目录中运行npm install
?
好像您在npm install
中完成了C:\web_dev_root_folder\facerecognitionbrain
,但是您在另一个目录中的C:\web_dev_root_folder\facerecognitionbrain-api\server.js
中需要它。