"../bcrypt_lib.node' (mach-o file, but is an incompatible architecture (have (arm64), need (x86_64)))" while running tests
This is probable you are using an old version of node. check by
nvm list
nvm use v16.17.0
To check the current version of node running, in the terminal use the command
node --version
Output in the Terminal :
The following command will list the different node versions already installed in your system.
nvm ls
Output in the Terminal :
To switch to more recent version of the node ie, v16.17.0, use the following command in the terminal
nvm use v16.17.0
Output in the Terminal :
Now confirm the current version of the node by
node --version
Output in Terminal:
No comments:
Post a Comment