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

RangeError: Maximum call stack size exceeded #1260

Closed
thedevdavid opened this issue Jan 15, 2019 · 4 comments
Closed

RangeError: Maximum call stack size exceeded #1260

thedevdavid opened this issue Jan 15, 2019 · 4 comments

Comments

@thedevdavid
Copy link

export * from '.';

Causes error.

RangeError: Maximum call stack size exceeded
    at Function.keys (<anonymous>)
    at hashObject (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:46:10)
    at hashify (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:18:5)
    at Object.keys.sort.forEach.key (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:49:5)
    at Array.forEach (<anonymous>)
    at hashObject (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:46:30)
    at hashify (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:18:5)
    at Object.keys.sort.forEach.key (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:49:5)
    at Array.forEach (<anonymous>)
    at hashObject (/Users/davidlevai/Desktop/Work/Classy/Projects/BES/bybesapp/node_modules/eslint-module-utils/hash.js:46:30)
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

eslint/eslint#11274 (comment)

@ljharb
Copy link
Member

ljharb commented Jan 15, 2019

Certainly this shouldn't crash; however, that particular export statement is utterly nonsensical :-)

@thedevdavid
Copy link
Author

@ljharb thanks for the quick answer. Yeah, it could be. @dobosmarton could you pls explain why we needed this file? src/components/Pager/index.js

@seyfer
Copy link

seyfer commented Jan 29, 2020

was it fixed and tagged in a new version already?

@ljharb
Copy link
Member

ljharb commented Jan 29, 2020

Looks like it was fixed in #1496, and released in v2.19.0

@ljharb ljharb closed this as completed Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants