Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set styled-componenets version to 5.2.1 until ReferenceError: window is not defined is fixed #1564

Closed
wants to merge 1 commit into from

Conversation

Sokre95
Copy link

@Sokre95 Sokre95 commented Mar 31, 2021

Issue page: #1563

The redoc-cli bundle does not work with the 5.2.2 version of styled-components, while the serve works normally which is expected

@RomanHotsiy
Copy link
Member

But the CLI has a shrinkwrap file with pinned version: https://github.com/Redocly/redoc/blob/master/cli/npm-shrinkwrap.json#L1782

Does it crash for you?

How do you run it?

@Sokre95
Copy link
Author

Sokre95 commented Mar 31, 2021

Hm, yes, it crashes to me too, obviously the shrinkwrap.json has no effect 😕
This is how I install & run cli

yarn add global redoc-cli
yarn run redoc-cli bundle

@RomanHotsiy
Copy link
Member

Could you please also try using npx or npm?

@RomanHotsiy
Copy link
Member

Fixed in styled components: styled-components/styled-components#3446 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants