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

DeprecationWarning causing 500 Internal Server Error in wzrd #15

Open
deathcap opened this issue May 9, 2016 · 1 comment
Open

DeprecationWarning causing 500 Internal Server Error in wzrd #15

deathcap opened this issue May 9, 2016 · 1 comment

Comments

@deathcap
Copy link

deathcap commented May 9, 2016

All output on stderr causes a 500 Internal Server Error:

  proc.stderr.pipe(concat(function error(err) {
    console.log(err);
    if (!err.length) return
    endLog()
    process.stderr.write(err.toString())
    res.statusCode = 500

This includes the DeprecationWarning: 'GLOBAL' is deprecated, use 'global' warning added in Node.js v6: nodejs/node#1838, triggered by cwise-parser

Works with beefy (no server error)

@deathcap
Copy link
Author

deathcap commented May 9, 2016

Not sure of the best fix. Pattern match stderr output for what looks like "warnings"?

Or could wzrd pass through stderr and determine browserify failure by some other means? (process exit code?)

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

1 participant