当我尝试安装 bcrypt 时出现此错误
[vagrant@localhost example]$ npm install bcrypt --save
npm ERR! path /vagrant/example/node_modules/bcrypt/node_modules/minipass/node_modules/yallist/package.json.2764337951
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/vagrant/example/node_modules/bcrypt/node_modules/minipass/node_modules/yallist/package.json.2764337951'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-06-01T03_52_29_028Z-debug.log
我全新安装了最新版本的 node 和 npm。 遇到类似情况怎么办?!
最佳答案
关于node.js - 如何在 Vagrant VM 上安装 bcrypt?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50635925/