I'm trying to get my feet wet with server side swift, and specifically Swift Vapor by trying the Ray Wenderlich HelloVapor tutorial.
Basically performed the following steps so far using (my swift -version on Apple command prompt is Apple Swift version 4.1.2)
Here are the steps I've followed to setup Vapor and try the sample.
- On command prompt
- Open browser to https://brew.sh for instructions to setup homebrew (Copy and paste the following in a command prompt on terminal)
- Then run the following commands to install vapor and the vapor sample app HelloVapor in folder vaporsample.
- However when I try to build the run target I get the following compile errors:
It appears it cant find the modules. Or perhaps an incorrect version of swift (I am on Swift version 4.1.2 on my Mac). I'm confused and would like to seek the advise of the erudite crowd here.