-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: TypeError: Expected signal to be an instanceof AbortSignal" when retrieving cached files #687
Comments
The issue was node-fetch/node-fetch#784 because I switched to webpack from ncc. I fixed it with node-fetch/node-fetch#784 (comment) |
I'm getting this as well, it would be nice to have an actual fix. |
It is a problem with the webpack minimizer (terser plugin) stripping class names, and |
Yeah, but as node-fetch doesn't seem like they are going to fix it (and I'm not familiar enough with JS to know whether it's even possible), a workaround here would be nice. Not sure whether that's possible, either. |
unfortunately since node-fetch won't fix it you have to fix it in your bundler config. if you're using ncc, you could probably not pass the |
I'm using webpack, and the workarounds in that thread (the last one at least) work, it's just fragile. |
This could fix the AbortSignal error. I'm not sure. NodeJS is weird. This shouldn't ever be an issue. What the fuck? Relevant issues: - actions/toolkit#687 - node-fetch/node-fetch#784
* Cache the zig compiler locally * logging * npm update * verboser * os.arch * debug * log signal * address actions/toolkit#687 * correct path * add a cache: false option * share size * zigpath * path.join skull
* Cache the zig compiler locally * logging * npm update * verboser * os.arch * debug * log signal * address actions/toolkit#687 * correct path * add a cache: false option * share size * zigpath * path.join skull
* deps: use esbuild * deps: update tool-cache * Fix tool-cache usage (#45) * cache log * log * log * use resolved ver for cache * build * log cache * log * use version as key * deps * loggggggg * method name * improve log * ci: tweak versions * include version for commit deps * trailing * mistake * Use github cache (#53) * Cache the zig compiler locally * logging * npm update * verboser * os.arch * debug * log signal * address actions/toolkit#687 * correct path * add a cache: false option * share size * zigpath * path.join skull * target node12 * changelog: add 1.4.0
I've written an action which downloads a number of executables and caches them using
@actions/cache
:https://github.com/redhat-actions/openshift-cli-installer/
Workflow here:
https://github.com/redhat-actions/openshift-cli-installer/runs/1670875424
I get that same error when fetching any file from the cache.
edit: Edited to remove references to the large file because it is not the cause.
The text was updated successfully, but these errors were encountered: