-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
ReferenceError: fetch is not defined on MacOS #608
Comments
Not sure how you control your instance of Node - but it will need updating to get rid of this issue |
@orta I haven't installed Node at all. I just installed danger globally as I did it on my old MacBook a year ago. I followed these instructions. https://danger.systems/swift/guides/getting_started#homebrew I also tried to install latest node version vie brew. But without any effect. I just saw at danger-js that there was a major release change in the node engine. Does danger-swift relies on danger-js? |
Having the same issue on remote gitlab runner. Everything is managed by brew there. Node version is 22.2 |
Same issue when running
|
The issue has been solved by danger/danger-js#1448 |
I installed danger-swift with homebrew on my MacBookPro M3.
When I run e.g.
danger-swift pr https://xxx/merge_requests/300
I receive the following error message.The same error message appears in my Gitlab based CI pipeline with
danger-swift ci --remove-previous-comments --verbose --trace-warnings
Any ideas what's going wrong?
I also tested again the public repo mentioned in Getting Started with Danger - Test Locally. Same issue. Seems it has to do something with my macOS setup.
danger-swift pr https://github.com/danger/swift/pull/146
The text was updated successfully, but these errors were encountered: