-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Gscan Latest version not working #309
Comments
Hey @mskian, could you please provide the information on the environment (OS, node version, etc.) you are running the command in? |
OS: ubuntu 18.04 LTS Just run the |
I think due to this - 7954aee |
#!/usr/bin/env node
const prettyCLI = require('@tryghost/pretty-cli');
const ui = require('@tryghost/pretty-cli').ui;
const _ = require('lodash');
const chalk = require('chalk');
const gscan = require('../lib');
I tried this |
@daniellockyer can you do a little bit more looking into this to see if there's another method to get rid of the warning, and if you can't find one in an hour or so lemme know? Last resort I'll try to refactor the output so the warning doesn't look like part of the gscan output |
@ErisDS Can't find anything https://www.xiaoru.li/post/disabling-node-warnings/ mentions the same issue and their recommendation:
|
Yeah - but we're not using the fs.promises API, a dependency 3 levels deep is :( |
I've raised this as an issue against Node.js: nodejs/node#32876 We obviously need this working on ubuntu, I'll take a look to see if I can minimize the impact of the warning. |
Ran into the same issue, glad I wasn't crazy! I had to downgrade to |
After a bit of a back-and-forth, we've found an OS-agnostic solution using Fix and release incoming! |
Working with this fix, thank you @ErisDS ! |
gscan
latest package not workingwhen try to test end up with
Live-action - https://github.com/TryGhost/London/runs/576771741
issue on
3.5.1
3.4.0
works wellThe text was updated successfully, but these errors were encountered: