I am using angular 6 and signalr for webstockets. SignalR uses this library for binary data.
Now I get the following error:
index.js:3 Uncaught ReferenceError: process is not defined
at Object../node_modules/process-nextick-args/index.js (index.js:3)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/readable-stream/lib/_stream_duplex.js (_stream_duplex.js:31)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/readable-stream/duplex-browser.js (duplex-browser.js:1)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/bl/bl.js (bl.js:1)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/msgpack5/index.js (index.js:5)
at __webpack_require__ (bootstrap:76)
util.js:103 Uncaught ReferenceError: Buffer is not defined
at Object../node_modules/core-util-is/lib/util.js (util.js:103)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/readable-stream/lib/_stream_duplex.js (_stream_duplex.js:46)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/readable-stream/duplex-browser.js (duplex-browser.js:1)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/bl/bl.js (bl.js:1)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/msgpack5/index.js (index.js:5)
at __webpack_require__ (bootstrap:76)
For the notice, I used msgpack-lite and it worked fine.
I am using angular 6 and signalr for webstockets. SignalR uses this library for binary data. Now I get the following error:
if I put workaround like:
Then, I start getting error about
Buffer
For the notice, I used
msgpack-lite
and it worked fine.