-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
fix(ci): Fix for the Actions failing on Windows Runner #4557
Conversation
I wonder if there is a way to avoid having to touch the global npm version. |
I guess we have to remove the |
yeah removing that fix |
npm versions dependent on the node version. Do you have a clue why this was added?
Having a look at the node-gyp-releasees, they have dropped node 14. |
We could see by bumping to Node 16 for testing if everything goes correct then we should adopt that
yes bumping to node.js 16 fix |
So this change can stay? |
As you noted above both
I would vote for changing the node version to >=v16. Another option would be bumping node to >=v18, which would allow for bugfixes like However, bumping to node >= v16 this requires more files to be changed: |
I have no objection to moving to >=16. But also, it's a bit funny that a failing CI on Windows is the last straw on the camel's back for dropping 14. |
Only bumping to Node 16 resolves this issue, the And maybe we can keep open this and wait for 2.0.x release and give a instructions on release we drop 14, 16..etc and here's the guide on how to upgrade which i think make a significant improvement in Security and other aspects. Still upgrading means more bugfixes and happyy Users, decision is on Louis now |
Um... Maybe I have to rethink to drop Node.js 14 and 16 in 2.0.0, because these weird issues I believe will eventually happen again and again. I just feel Node.js' LTS versions are somehow too short. 18 is going to reach eol next year. |
Can we have an interim fix by dropping |
Yes but on windows runner needs to be on node 16 other runners works fine. Node-gyp has issue on node 14 on windows runner |
If this is the only way to get it working then we should adopt it, and merge to master ASAP. I don't think we should get use to CI checks failing on PRs and commits. |
Yup you are right. |
I think we should merge #3747 instead. I don't think merging this (half-baked) migration to node 16 is a good idea ^^ |
My perspective is that fixing the CI should have a higher priority than the discussion of dropping v14/16. But if #3747 is functionally equivalent except the documentation change, I'm willing to go with that instead. |
I merge this first |
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:
Description
Adds a--force
flag which fixes CI failing sourceSeems like there is node-gyp issue due to drop of support of Node 14 which is preventing the CI to install global NPM version,
removing theBumping to Node 16 fixes the issuenpm i -g npm@9
fix the ci and seems OKTested the same method on my Repo CI it seems to run OK not the issue with NPM or Actions, i cannot figure out the issue.
Type of change
Please delete any options that are not relevant.
Checklist
Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.