shogerr / bluprntr

Prints your Bluprints to disk
11 stars 2 forks source link

Error: Cannot find module 'ws' #1

Closed sydneyDK closed 4 years ago

sydneyDK commented 4 years ago

I have ws installed, but tool indicates it can not find the library. I have confirmed in the terminal that ws is available and can be run. As I understand it "ws" is a local webserver.

node server.js internal/modules/cjs/loader.js:1032 throw err; ^

Error: Cannot find module 'ws' Require stack:

shogerr commented 4 years ago

Can you try running yarn install or npm install from the project directory if you haven't? It sounds like maybe npm install ws --global was used to install the package? I've also pushed and update with a some changes and more detailed instructions.

sydneyDK commented 4 years ago

Thanks, shogerr.