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
Error reported during compilation #400
Comments
can you please install |
|
Ah, The error with Would it be possible to create a test setup reproducing this issue? Then I could provide recommendations around how to fix this. |
@dengxueru is there any more information you can share about your build tooling? without that it's difficult to support you. Since, we can't expect npm package maintainers to not new (but stable) language features, the solution here would be to try to fix the tooling instead. If that's not an option, I'd recommend downgrading to |
I experience the same error, v1.1.1 with the "??" worked fine while compiling with Node v18.17.0 on windows, but did not when deploying my Node.js Express Web App to Linux on Azure built with Node - 10.10 Downgrading to 1.0.2 has resolved the compile error for my app. |
I don't really want to provide support for decommissioned versions of nodejs. Nodejs 10.10 is almost 6 years old. But just in case this is somehow business critical, please let me know. Fixing this is not a big deal. However I prefer to keep this issue open as a reminder that all actively maintained systems should update their entire stack, not just their node_modules. Older versions of nodejs (or any runtime) are likely to be a security nightmare. |
@netroy You are absolutely right... being new to Azure, my initial assumption when deploying my app was that azure would select the latest stable version of Node when creating an initial web app project.. I am seeing that after updating Node to 20-LTS I am able to use v1.1.1 of image-size. |
version 1.1.1
The text was updated successfully, but these errors were encountered: