I'm using jpm
to develop firefox addon
I want to use Websocket
in the firefox addon.Not in the content scripts but in the index.js
[Background]
But it is throwing
JPM [error] Message: ReferenceError: WebSocket is not defined
Then I tried by using the thirdparty modules way
But for that it's throwing dependent module not present
Module `x` is not found at resource
I have tried to install those x modules by npm install -x --save
.
Still it's throwing the same error