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 upMemory error #746
Comments
This comment has been minimized.
This comment has been minimized.
|
You have quite a unique situation. No other user has reported this error before. I took a look into what the I posted a comment here: isaacs/node-glob#270 (comment) Right now, I'm treating this as a bug in |
This comment has been minimized.
This comment has been minimized.
|
Ahh, nevermind. This is not a Your attempt to ignore all them by adding an explicit ignore of If you put that in, |
feross
closed this
Jan 20, 2017
This comment has been minimized.
This comment has been minimized.
|
@feross Ah man! Thanks a bunch :-D |
christianalfoni commentedJan 13, 2017
•
edited
Hi there!
Monorepos are becoming more and more popular and it seems that standard gets into issues with multiple packages in one repo.
This is the error I get when I try to lint our monorepo:
Now, I believe this is related to traversing, because if I delete the
node_modulesfolders of all the packages in the repo the linter works fine.By default "standard" ignores node_modules folder and we even added an extra config to be certain, from our package.json:
{ "standard": { "parser": "babel-eslint", "ignore": [ "**/node_modules/", "**/build/" ] } }Could it be that ignore is only related to actually linting, but it still traverses all files?
I have tried everything... installing latest Node, Npm, delete repo from my machine and clone again. Also tried upping the memory of Node. It just does not work. Funny thing is that it works on some computers. I have a pretty powerful Macbook Pro from 2015.
Any help would be great as this is blocking contributions to our project currently. The repo is: https://github.com/cerebral/cerebral
Run:
npm installthen
npm run setupand
npm run lint