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

bcrypt - node_modules/bcrypt/node_modules/bindings/bindings.js:83 not working #332

Closed
SpaceG opened this Issue Sep 3, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@SpaceG

SpaceG commented Sep 3, 2015

sails lift - notworking i have trouble here with my bcrypt file ? are you have a slove for this issue? Would like to starting my App here on localhost. but i get this out.. but i have githubed alot but dont found a slove to fix this issue. Thanks alot.



Space-Odysseys-Mac-Pro:www cyberspace$ sails lift

info: Starting app...

/Users/cyberspace/Desktop/www/node_modules/bcrypt/node_modules/bindings/bindings.js:83
throw e
^
Error: dlopen(/Users/cyberspace/Desktop/www/node_modules/bcrypt/build/Release/bcrypt_lib.node, 1): no suitable image found. Did find:
/Users/cyberspace/Desktop/www/node_modules/bcrypt/build/Release/bcrypt_lib.node: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x03
at Error (native)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at bindings (/Users/cyberspace/Desktop/www/node_modules/bcrypt/node_modules/bindings/bindings.js:76:44)
at Object. (/Users/cyberspace/Desktop/www/node_modules/bcrypt/bcrypt.js:3:35)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/Users/cyberspace/Desktop/www/config/passport.js:5:10)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Space-Odysseys-Mac-Pro:www cyberspace$

@defunctzombie

This comment has been minimized.

Collaborator

defunctzombie commented Sep 3, 2015

I don't understand the issue here. Also, maybe best to ask sails project for help first. This project just deals with issues around bcrypt module and not issues around other projects using that module. If I had to guess here I would say there was an installation or build issue when sails first installed or initialized the project.

@SpaceG

This comment has been minimized.

SpaceG commented Sep 3, 2015

Hey Zombie! yes it was the commandline npm install bcrypt ! ;)

@defunctzombie

This comment has been minimized.

Collaborator

defunctzombie commented Sep 4, 2015

I would recommend removing node_modules and installing again. Make sure you don't change node versions between installs.

@SpaceG

This comment has been minimized.

SpaceG commented Sep 6, 2015

i have done this all. specially the bcrypt files. ! Thanks Alot.

@booleanhunter booleanhunter referenced this issue Mar 14, 2016

Closed

I can't run #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment