We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pass in --options no-deprecation to pkg when building binaries.
--options no-deprecation
The text was updated successfully, but these errors were encountered:
Also add to main js file
// Suppress experimental warnings // https://stackoverflow.com/questions/55778283/how-to-disable-warnings-when-node-is-launched-via-a-global-shell-script const originalEmit = process.emit; process.emit = function (name, data, ...args) { // console.log(`Got a Node.js event: ${name}`); // console.log(`Type of data: ${typeof data}`); // if (typeof data === `object`) { // console.log(`Data: ${JSON.stringify(data)}`); // console.log(`Data name: ${data.name}`); // console.log(`Data message: ${data.message}`); // } // console.log(`Args: ${args}`); if (name === `warning` && typeof data === `object` && data.name === `ExperimentalWarning` && data.message.includes(`Fetch API`)) { return false; } return originalEmit.apply(process, arguments); };
Sorry, something went wrong.
fix: Supress experimental/deprecated warnings on startup
e2090a7
Fixes ptarmiganlabs#762
Successfully merging a pull request may close this issue.
Pass in
--options no-deprecation
to pkg when building binaries.The text was updated successfully, but these errors were encountered: