Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
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?