No Xcode or CLT version detected! While developing an app with laravel, the error in the image below occurs with the npm install command. Apparently Xcode is not installed and is throwing an error ... Execute the following command to install Xcode.
$ xcode-select --install
A pop-up appears, and I think it's installed successfully ... The installation was interrupted as shown in the image below.
When I looked it up on the internet, it seems that installing Xcode manually will solve the problem. The link below will take you to More Downloads for Apple Developers.
Xcode installation page (actual screen below) As of October 30, 2020, the latest Xcode version was 12.1, so install the second "Xcode 12.1" from the top.
When the installation starts, a pop-up like this is displayed (experienced for about 1 hour)
After the installation is complete, run the npm install command!
$ npm install
If you are suffering from the same phenomenon, I would appreciate it if you could refer to it!
Recommended Posts