Closed valeriyvan closed 5 years ago
looks good here. The warnings from screenshot comes from building node modules, it may be more relevent to your local nodejs env.
$ node -v v11.13.0
v12.1.0
$ ./run.sh
> fsevents@1.2.9 install /Users/marcinkrzyzanowski/Devel/OnlineSwiftPlayground/node_modules/fsevents
> node install
node-pre-gyp WARN Using needle for node-pre-gyp https download
[fsevents] Success: "/Users/marcinkrzyzanowski/Devel/OnlineSwiftPlayground/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node" is installed via remote
> websocket@1.0.26 install /Users/marcinkrzyzanowski/Devel/OnlineSwiftPlayground/node_modules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
> babel-env@2.4.1 postinstall /Users/marcinkrzyzanowski/Devel/OnlineSwiftPlayground/node_modules/babel-env
> node ./bin/babel-env
added 848 packages from 611 contributors and audited 9954 packages in 11.081
I did deps update right now, you may want to give it a try..
it basically run npm install
to build dependencies, I don't think I can do more about it.
And now it works!
One minor thing. Script depends on having /Applications/Xcode.app/Contents/Developer/usr/bin/
in PATH
otherwise xcrun --sdk macosx --find xctest
fails to run. Not sure if it worth mentioning.
/usr/bin/xcrun
suppose to be available on any macOS, and I don't even have /Applications/Xcode.app/Contents/Developer/usr/bin/
in my PATH
xcrun
is in /usr/bin/
but xctest
isn't!
xcrun is in /usr/bin/ but xctest isn't!
uh, it must be called by Swift Package Manager, I don't recall call it by myself.