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 trial
NPM not able to install bcrypt
I tried serval times to install bcrypt via npm in the workspace console, but instead of installling the package succesfull I get this error message:
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registery.npmjs.org/bcrypt failed, reason: getaddrinfo ENOTFOUND registery.npmjs.org registery.npmjs.org:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/treehouse/.npm/_logs/2018-11-02T16_19_43_484Z-debug.log
npm is guessing that the workspace is using a proxy on Threehouses servers, which I have to register in node. Is this true or is there something else causing this error?