peers / peerjs-server

Server for PeerJS
https://peerjs.com
MIT License
4.34k stars 1.08k forks source link

"peerjs: command not found" issue #280

Closed greybuz closed 2 years ago

greybuz commented 2 years ago

I followed the instructions listed on your page: npm install peer -g peerjs --port 9000 --key peerjs --path /myapp

and i keep getting an "peerjs: command not found" error. How do I fix this? What am I doing wrong?

jonasgloning commented 2 years ago

This is not an issue with PeerJS. Looks like the global npm modules directory is not in your PATH.

My guess: you're running windows and missed the "add to your PATH" check mark in the Node installer?

This out of scope for the project, but you may find a solution on Stackoverflow or by reinstalling the package. Good Luck.

peerjs-bot commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.