我試圖啓動一個應用程序的NodeJS,但我得到的錯誤NodeJS:如何修復不同的節點模塊版本?
Error: The module '/Users/api/node_modules/bcrypt/lib/binding/bcrypt_lib.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 46. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
我已經運行npm install
和npm rebuild
。但仍然是相同的錯誤...
檢查NPM命令的列表。嘗試npm更新模塊名 – Amit