I'm trying to use Peerjs with React.
At the top of my component i have
import Peer from 'Peerjs'
which I installed with npm. Code works fine on my local nodejs server but when i upload it on aws instance i have this notification:
Module not found: Error: Can't resolve 'Peerjs' in '/var/www/vhost/src/lib'
I even do not guess what it might be?
via Eugeniy Gromov
No comments:
Post a Comment