-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
UnhandledRejection when running tests on node v15 (<- unsupported by karma) #3570
Comments
We support LTS versions. Please try 16, we don' test on it yet but we need to. |
I'm hitting the exact same error on exact same conditions (url for fonts in scss file) on node latest (v15), but ok on LTS (v14). I wanted to try on v16, but it looks like there no version at the moment. Am I missing something ? The nodejs website does not reference any of v16, nor my 'n' $ n 16.0.0
installing : node-v16.0.0
curl: (22) The requested URL returned error: 404
Error: download preflight failed for '16.0.0' (https://nodejs.org/dist/v16.0.0/node-v16.0.0-linux-x64.tar.gz) |
Don't use karma on node 15. I can't help you with your node installation. |
Just wanted to help by testing on node 16 (if it exists), nothing more... |
Ok thanks. I misread https://nodejs.org/en/about/releases/. v16 is next year. So use v14 |
We experience the same issue with Node v14.15.2 even without the So this should really get a high priority to be fixed. |
What about node v14.15.2 can karma work with this ? |
then what tool i use please suggest |
Closing as duplicate of #3588. See #3588 (comment) for the current recommendation. |
Hi,
I'm running into the following error when running tests in angular components
karma-server: UnhandledRejection
The issue happens when there is url scss attribute in component scss files
e.g
background: url('image-file-path')
Works fine in lts node
The text was updated successfully, but these errors were encountered: