mehtaAnsh / BlockChainVoting

A blockchain based E-voting system
https://mehtaansh.github.io/BlockChainVoting/
MIT License
288 stars 122 forks source link

Cannot find module bcrypt_lib.node error #31

Open schnydszch opened 1 year ago

schnydszch commented 1 year ago

Hi! While running npm install, I am getting error below: "Cannot find module bcrypt_lib.node". I tried "npm install -g npm" because npm message says I need to upgrade to a newer version, so run that and I am now getting the error message below: ERROR: npm v9.1.1 is known not to run on Node.js v11.14.0. You'll need to upgrade to a newer Node.js version in order to use this version of npm. This version of npm supports the following node versions: ^14.17.0 || ^16.13.0 || >=18.0.0. You can find the latest version at https://nodejs.org/.

ERROR: /root/.nvm/versions/node/v11.14.0/lib/node_modules/npm/lib/utils/exit-handler.js:22 const hasLoadedNpm = npm?.config.loaded

What could be the problem? TIA!