Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing (bcrypt) #227

Open
kidsil opened this issue Feb 15, 2021 · 1 comment
Open

Error when installing (bcrypt) #227

kidsil opened this issue Feb 15, 2021 · 1 comment

Comments

@kidsil
Copy link

kidsil commented Feb 15, 2021

I'm getting an error when running yarn run setup

node-pre-gyp ERR! stack Error: Failed to execute '~/.nvm/versions/node/v12.4.0/bin/node ~/.nvm/versions/node/v12.4.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=~/dev/proj/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=~/dev/proj/node_modules/bcrypt/lib/binding --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)

@kidsil
Copy link
Author

kidsil commented Feb 15, 2021

Solved by changing bcrypt and sqlite3 on package.json to:

"bcrypt": "^5.0.0",
"sqlite3": "^5.0.1",

Removing yarn.lock, running yarn install then running yarn run setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant