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

JavaScript npm Basics (retiring) 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,705 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.