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

stdout maxBuffer exceeded? #132

Open
cssagogo opened this issue Mar 24, 2016 · 10 comments
Open

stdout maxBuffer exceeded? #132

cssagogo opened this issue Mar 24, 2016 · 10 comments

Comments

@cssagogo
Copy link

I have the following grunt task setup...

        scsslint: {
            options: {
                reporterOutput: null,
                colorizeOutput: true
            },
            analytics: {
                allFiles: [
                    'sites/assets.ispot.tv/public/css/*.scss'
                ]
            }
        },

And when I run it, I get the following error...

/usr/local/bin/node /usr/local/lib/node_modules/grunt-cli/bin/grunt --gruntfile /Users/adamyoungers/PhpstormProjects/ispot/web/Gruntfile.js scsslint:analytics
Running "scsslint:analytics" (scsslint) task
Running scss-lint on analytics
>> scss-lint failed with error code: undefined
>> and the following message:Error: stdout maxBuffer exceeded

I'm on a Mac and the instructions to install scss-lint were a bit vague. Not sure if that has something to do with it or not.

@tbremer
Copy link

tbremer commented Mar 24, 2016

You need to set the maxBuffer option

@cssagogo
Copy link
Author

Any idea where to begin. I'm working on a 3 year old code base with 30 to 40 scss files that have never been linted. Lots of cleanup to do.

@cssagogo
Copy link
Author

Is it the number of files or the number of errors thats killing it?

@douglasdeodato
Copy link

i got the same problem, I think this plugin has a bug the only way to fixed that was going in my node modules folder and change this to:

maxBuffer: 30000000000000000000 * 1024

node/modules/grunt-scss-lint/scss-lint.js

@ahmednuaman
Copy link
Owner

PR?

@douglasdeodato
Copy link

douglasdeodato commented Jul 5, 2016

that means please repeat? :) +1

@douglasdeodato
Copy link

oh Pull Request :) , I will try.

@douglasdeodato
Copy link

I did : #140

@ahmednuaman
Copy link
Owner

Wait, why is this needed? Can't people set maxBuffer in their grunt task?

@douglasdeodato
Copy link

no Idea I just closed it.

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

No branches or pull requests

4 participants