styleguidist/react-styleguidist

Uncaught ReferenceError: global is not defined

Open

#1,209 opened on Nov 20, 2018

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (1,416 forks)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (11,091 stars)
PR merge metrics
 (PR metrics pending)

Description

Current behavior

The build is triggered and page loaded in the browser. We are getting this in the console.

To reproduce

We have specific way of bundling webpack configuration by webpack. So it would be slightly difficult to make reproduction of issue at this point as we are working in monorepo.

So far what I know that issue is coming from es6-promise bundle. I'm looking at least for some hint. Then I will be happy to even provide example which will be much simplier.

Expected behavior

We will not have issue with missing global variable.

Contributor guide