winIDEA relies on CMake's File API to obtain information about the project beyond the required CMake Presets file and will show a "No index file" error when it doesn't receive the expected reply from the API.
The Configure and Build Presets have likely been correctly defined, but a
successful Generate step has not yet been run in the current binary
directory.
You can perform the following from the CMake Toolbar: