Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialStephen Garner
Courses Plus Student 11,241 Pointsnode app.js is throwing an error
It is throwing this error...
/home/treehouse/workspace/node_modules/bcrypt/node_modules/bindings/bindings.js:83
throw e
^
Error: Module version mismatch. Expected 46, got 14.
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at bindings (/home/treehouse/workspace/node_modules/bcrypt/node_modules/bindings/b
indings.js:76:44)
at Object.<anonymous> (/home/treehouse/workspace/node_modules/bcrypt/bcrypt.js:3:3
5)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
1 Answer
simhub
26,544 Pointshi Stephen,
Upgrading Node and Npm 'could' resolve the issue.
(not guarrentied!!!!!)
Stephen Garner
Courses Plus Student 11,241 PointsStephen Garner
Courses Plus Student 11,241 Pointswow I feel like such a noob. thanks.