gosling.js
gosling.js copied to clipboard
path.js: process is not defined
When gosling.js
is used with a vite-react-ts
template, multiple error messages appear:

Adding the following lines in the base HTML files address the issue:
<script>
var process = { platform: '', env: '' }
</script>
Would need to include this in the build so that users do not have to care about these details.
Another error message: