-
Notifications
You must be signed in to change notification settings - Fork 738
nodejs v22.10.0 onward give errors: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfo<v8::Value>&) #1180
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
Comments
Thanks for the report. I'm going to see if I can reproduce the error locally. |
Hmm I get a different error when I run this locally:
|
Oh I see that you pointed out Windows and Ubuntu have different errors. I'm running on Ubuntu, but I see the error you found on the Windows bot. Not sure what the |
When I run this on v22.9.0, I also get failed tests but with a different error.
|
This is the upstream issue: standard-things/esm#931 This is unfortunately going to be very difficult for me to solve. I'll accept community contributions to upgrade ava and rewrite all of the tests. I just don't have time for this right now. Best I can do is upgrade ava to 2.0, but that's not enough to fix this. https://github.com/shelljs/shelljs/pull/1181/files |
There's a bug when running on node v22.10. This temporarily pins 22 to 22.9.0 to workaround the problem and keep tests passing on CI. Mitigation for issue #1180.
There's a bug when running on node v22.10. This temporarily pins 22 to 22.9.0 to workaround the problem and keep tests passing on CI. Mitigation for issue #1180.
Yes, I actually saw something similar on Windows with node v22.9.0 about punycode, pushd, popd, but that wasn't as drastic as the crash in 22.10.0 and beyond. The 128SIGINT came from the cloud build on Ubuntu (unsure of the version) with node v22.13.1 (I think). |
There's a bug when running on node v22.10. This temporarily pins 22 to 22.9.0 to workaround the problem and keep tests passing on CI. Mitigation for issue shelljs#1180.
There's a bug when running on node v22.10. This temporarily pins 22 to 22.9.0 to workaround the problem and keep tests passing on CI. Mitigation for issue #1180.
There's a bug when running on node v22.10. This temporarily pins 22 to 22.9.0 to workaround the problem and keep tests passing on CI. Mitigation for issue shelljs#1180.
@nfischer so if that should be a breaking change, and communicated as such, no? maybe |
@Wassap124 For semver at 0.minor.patch, major zero, the minor version changes allow for breaking changes. |
Are you referring to shelljs? Just to be clear, I believe that shelljs v0.9.0 does NOT require ESM. I believe you should be able to use shelljs v0.9.0 from within either commonjs modules OR ecmascript modules, exactly the same way that shelljs v0.8 worked. If that doesn't match up with what you're seeing on your end, please file a new GitHub issue so that I can investigate with high priority. What I was discussing above was that the
@kmashint is correct. The upgrade from shelljs v0.8.0 to v0.9.0 does in fact contain some breaking changes, and I have versioned the package appropriately to indicate this. If you want to see the breaking changes, take a look through https://github.com/shelljs/shelljs/wiki/Migrating-from-v0.8-to-v0.9 (and if I missed anything, please feel free to update the wiki). |
@kmashint it was only a suggestion, but at least notify about a breaking change in the changelog @nfischer thanks for the clarification!
it indeed does not, I opened an issue with my current experience, |
This updates ava to v6. This resolves some `npm audit` warnings in our project's devDependencies. This is a partial fix #1180, although I found more errors when I ran the tests locally on v22.10.0. Test: npm audit
This updates ava to v6. This resolves some `npm audit` warnings in our project's devDependencies. This adds `workerThreads: false` because operations like `process.chdir()` don't work in workers (but are required for shelljs). This is a partial fix #1180, although I found more errors when I ran the tests locally on v22.10.0. Test: npm audit
Starting in node >= 22.10.0, a commandNotFound error will have `undefined` values for stdout/stderr, whereas in earlier versions these values were `null`. Fixes #1180
Starting in node >= 22.10.0, a commandNotFound error will have `undefined` values for stdout/stderr, whereas in earlier versions these values were `null`. Fixes #1180
This updates ava to v6. This resolves some `npm audit` warnings in our project's devDependencies. This adds `workerThreads: false` because operations like `process.chdir()` don't work in workers (but are required for shelljs). This is a partial fix shelljs#1180, although I found more errors when I ran the tests locally on v22.10.0. Test: npm audit
Starting in node >= 22.10.0, a commandNotFound error will have `undefined` values for stdout/stderr, whereas in earlier versions these values were `null`. Fixes shelljs#1180
Uh oh!
There was an error while loading. Please reload this page.
When creating a PR for an improvement to carry forward the exit code from a failed sync exec() to the thrown Error, CI tests in the cloud were failing for nodejs v22.31.1 on Ubuntu, OSX, and Windows.
#1179
Sample errors are below:
Some research showed that:
The text was updated successfully, but these errors were encountered: