Closed SvenMuc closed 1 month ago
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 danger-swift pr
.
> node --version
v22.2.0
> which node
/opt/homebrew/bin/node
> danger-swift --version
3.18.1
> which danger-swift
/opt/homebrew/bin/danger-swift
The issue has been solved by https://github.com/danger/danger-js/issues/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 withdanger-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