peterszombati / xapi-node

xStation5 Trading API for NodeJS/JS
https://peterszombati.github.io/xapi-node/
Other
58 stars 19 forks source link

parseStack.js:10 Uncaught ReferenceError: process is not defined #22

Closed solarfrantz closed 3 years ago

solarfrantz commented 3 years ago

If before things were warning during compile, you've actually managed to introduce node specific commands (backend) into frontend and now I've got the following error:

parseStack.js:10 Uncaught ReferenceError: process is not defined
    at Object.20617 (parseStack.js:10)
    at __webpack_require__ (bootstrap:19)
    at Object.58726 (parseError.js:5)
    at __webpack_require__ (bootstrap:19)
    at Object.3015 (index.js:7)
    at __webpack_require__ (bootstrap:19)
    **at Object.66665 (XAPI.js:5)**
    at __webpack_require__ (bootstrap:19)
    at Object.90304 (index.js:4)
    at __webpack_require__ (bootstrap:19)

Found the issue: it's caused by that other product of yours Logger4 and found where you're using process:

Anyway, we don't have process in browsers :(

solarfrantz commented 3 years ago

Rolling back 2.4.8 seems to fix the problem, but starting with 2.4.9 it manifests :(

peterszombati commented 3 years ago

@solarfrantz I published a new version on npm, can you check?

solarfrantz commented 3 years ago

It works, thanks