Skip to content

Cannot find module bcrypt_lib.node error #31

Description

@schnydszch

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions