Closed nickpwhite closed 4 months ago
Seems like your command line is picking up the wrong swiftc
. You might need to reset the path to your developer directory
sudo xcode-select --reset
once you do that, try running npm install
again.
Awesome, that worked! Thank you so much! Not sure how that got messed up 🤔
Hi there! I'm trying to run the example to get started with this package, and running into some issues. Can you help point me in the right direction? Thanks in advance!
Here are the steps I've followed:
git clone git@github.com:kabiroberai/node-swift.git && cd node-swift
npm install
<-- This succeedscd example
npm install
The last step fails with an error:
I've also tried to build the projects in XCode, and node-swift builds successfully, but example fails with a bunch of errors like this (for various node APIs):
I'm on an M3 Macbook Pro running macOS Sonoma 14.4.
Full backtrace: