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.

JavaScript npm Basics Installing Packages with npm Installing Local Packages

Derek Hutson
Derek Hutson
9,740 Points

Internet lost/403 error?

Hi, I went to install bcrypt and after when I go to open node_modules folder it says workspace internet was lost, so I connect again and it gives me a 403 error.. any ideas??

Hi,

I had the same problem. What I did to make it work is that I,

  1. Uninstalled the bcrypt in the command with - npm uninstall bcrypt
  2. Install the bcrpytjs in the command - npm install bcryptjs
  3. Refresh and see if it works to open the folder without that the internet will be lost

Hope that this helps!

1 Answer

Sebastian Karg
Sebastian Karg
28,704 Points

Hi,

I also had the problem that Workspaces showed a message that it lost connection to the internet. I tried to uninstall bcrypt but it lost connection during that process, so I had to go to workspaces and delete the one manually. After that I launched a new Workspace and installed bcryptjs instead, and it works fine for me.