question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

versions 3.0.0-beta6 and 3.0.0-rc.1 both fail with react-stylegudist

See original GitHub issue

Since updating Styleguidist, I’ve been getting these errors:

Warning: Cannot parse src/common/presentation/elements/Anchor/Anchor.js: RangeError: Maximum call stack size exceeded

It usually means that react-docgen does not understand your source code, try to file an issue here:
https://github.com/reactjs/react-docgen/issues

Warning: Cannot parse src/common/presentation/elements/Avatar/Avatar.js: RangeError: Maximum call stack size exceeded

It usually means that react-docgen does not understand your source code, try to file an issue here:
https://github.com/reactjs/react-docgen/issues

However, react-styleguidist works with the dependency of 3.0.0-beta12. Beta 6 AND RC 1 both fail. See a similar error here: https://github.com/reactjs/react-docgen/issues/249

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
danezcommented, Nov 3, 2018

We released 3.0.0-rc.2, it has the latest version of recast and babel and some fixes. Let me know if that makes it any better.

0reactions
danezcommented, Oct 24, 2018

hmmm I’m not able to reproduce this. I tried the example on latest master and on rc.1 and both parse successfully.

This is what I tested:

import React from 'react';

export default function Spinner({ className, ...props }) {
  return <svg viewBox="0 0 34 34" {...props} />;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - React Styleguidist
Function that sorts component props. By default props are sorted such that required props come first, optional props come second. Props in both...
Read more >
mitsuruog/react-styleguidist-typescript-demo - CodeSandbox
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >
teambit/changelog | npm - Open Source Insights
arrow_right @babel/runtime. 7.12.18 Notes Relation Licenses Version 7.12.18 Published February 18, 2021 Description arrow_right @teambit/harmony. 0.2.11 Notes Relation Licenses Version 0.2.11 Published January 7, 2021 Description...
Read more >
mmb.irbbarcelona.org/gitlab/aluciani/MoDEL-CNS_cli...
A module may have at most one default export and as many named exports as you ... ([source](https://github.com/styleguidist/react-styleguidist)) to your ...
Read more >
Volkswagen ID
... @babel/plugin-syntax-jsx@7.12.1: https://github.com/babel/babel ... @types/istanbul-lib-report@3.0.0: https://github.com/DefinitelyTyped/DefinitelyTyped ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found