Make sure that the ..\ui\extension folder exists in the components directory of your Next.js project. If it does not exist, create it and then run the following command: npx @shadx/cli add carousel. It will work
..\ui\extension
npx @shadx/cli add carousel