global is not defined at Object../node_modules/node-libs- code example
Example: ReferenceError: global is not defined
<script>
var global = global || window;
var Buffer = Buffer || [];
var process = process || {
env: { DEBUG: undefined },
version: []
};
</script>