Jonathan Price

Results 8 comments of Jonathan Price

I've looked into this a little bit, the rsa file contains [safe-buffer](https://github.com/feross/safe-buffer) 5 times. safe-buffer appears to be a node.js library so probably shouldn't be included at all. I haven't...

I've worked around this issue on my project by importing the bare version of `exceljs`, which doesn't include any polyfills (including `regenerator-runtime`), and importing `regenerator-runtime` separately.

> > > @notclive How did you manage to do such an import? Would be nice to get it working in our webpack based build. We put the following in...

I worked around this by overriding the whole navigator ```ts function overrideUserAgent (userAgent: string) { const previousNavigator = window.navigator // storybookjs/test-runner overrides the userAgent and doesn't set `configurable: true`. //...

I wasn't sure whether that was a desirable solution. Currently test-runner seems to depend on the user-agent changing (https://github.com/storybookjs/test-runner#storybooktestrunner-user-agent). Though, I'm not sure if any core behaviour depends on it,...

I've put the following ``` define: { global: { window: {} }, }, ``` in `vite.config.ts` to workaround the problem.

I see a different error at build time, but it looks to be caused by the same issue. I'm not specifying any mapbox version (so it should use 8.6.6), but...

Once I add the `credentials` block to `app.gradle` (and specify a `MAPBOX_DOWNLOADS_TOKEN`) the above errors go away.