Vapor installation issues

I am facing issues when I run swift run command after installing vapor

Do you have the full Xcode app installed? That's unfortunately still generally required for development even if you don't actively use it.

Thanks for your concern @MPLewis
I installed Xcode and brew. However, I was unable to install a swift environment.

I fixed this issue by running sudo xcode-select -s /Applications/ command on the terminal.

After this, I was able to run the swift run command and start vapor on the web.

Terms of Service

Privacy Policy

Cookie Policy