Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRangeError: Maximum call stack size exceeded #882
Comments
This comment has been minimized.
This comment has been minimized.
Sullux
commented
May 18, 2017
|
I'm getting the same thing:
This is only happening on one project. Other projects on the same system seem to lint fine. |
This comment has been minimized.
This comment has been minimized.
landon9720
commented
May 26, 2017
|
Same thing here. |
This comment has been minimized.
This comment has been minimized.
rajat1saxena
commented
Jun 2, 2017
|
Same here as well |
This comment has been minimized.
This comment has been minimized.
gingermusketeer
commented
Jun 21, 2017
|
I was saw this problem on a project I am working on as well with version
After adding some debugging information to Not sure if this is the actual problem or if I was just lucky that removing this unneeded folder solved my issue. |
This comment has been minimized.
This comment has been minimized.
vramana
commented
Jul 7, 2017
|
I see the same issue on npm repo reproduced via travis https://travis-ci.org/npm/npm/jobs/251196118 |
This comment has been minimized.
This comment has been minimized.
luispabon
commented
Jul 18, 2017
•
|
Same here on Linux, npm 5.0.3, standard 10.0.2 and eslint-plugin-node 4.2.2 Happens on both node 7 and 8 |
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Jul 18, 2017
•
|
View: #933. Search before post. edit: huh, that issue is older, okey. |
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Jul 18, 2017
|
@vramana, @luispabon, @gingermusketeer i may help if post some files, or part of the files :) |
This comment has been minimized.
This comment has been minimized.
vramana
commented
Jul 18, 2017
|
@tunnckoCore You can reproduce it with npm latest branch. The error triggers on Travis, so you can use Travis if you can't reproduce it on your machine. |
This comment has been minimized.
This comment has been minimized.
luispabon
commented
Jul 18, 2017
|
Okay, the empty project was somehow picking a file on the parent folder containing some dodgy code I reckon standard is looping through forever. I've managed to distill it all down to: let fs = fs || require('fs')Steps to reproduce:
It seems specific to the |
ematipico
marked this as
a duplicate of
#933
Jul 18, 2017
This comment has been minimized.
This comment has been minimized.
tunnckoCore
commented
Jul 19, 2017
•
|
Now we can close this, @ematipico, @feross :) v4.2.3 is released by @mysticatea! |
This comment has been minimized.
This comment has been minimized.
|
Cool, if folks are having issues still, reinstall |
satya1990 commentedMay 11, 2017
I was trying set up standard for mocha.
$standard --env mocha
I'm getting the following error logs on console.
Error:
standard: Unexpected linter output:
RangeError: Maximum call stack size exceeded
logs:
at Array.values (native)
at findVariable (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:141:42)
at findVariable (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:145:24)
at checkDestructuring (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:299:34)
at checkProperties (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:373:21)
at checkVariable (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:404:13)
at checkDestructuring (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:301:21)
at checkProperties (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:386:21)
at checkVariable (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:404:13)
at checkDestructuring (/usr/local/lib/node_modules/standard/node_modules/eslint-plugin-node/lib/rules/no-deprecated-api.js:301:21)