Error: Create custom endpoint with "npx strapi generate"
# Error with "npx strapi generate" command

## System information:
- Windows 11
- Node v20.18.1
- Strapi v5.5.1

## Algorithm of actions:
- Install Strapi v5.5.1
- Run the CLI command ```npx strapi generate```
- Try to create a Custom API Endpoint. 

Here is my console result after creating: 
![image](https://github.com/user-attachments/assets/c82f4b9c-f1d8-4d26-9109-c8faf5871624)

! But the files were not created.

## Expected behavior:
Files will be created and can be edited

## The first attempt to solve
The files are not created. Accordingly, I tried to create again, but I received the following result:
![image](https://github.com/user-attachments/assets/7017f6d3-2d09-489f-a689-e99eff6e7563)

## The second attempt to solve
I tried to create the files manually 
But I got an error when trying to create
![image](https://github.com/user-attachments/assets/6a2c196a-79b3-4634-a724-0d5a500b662f)

## And now I don't know what to do to create an endpoint
By the way, I'm trying to create a simple endpoint to receive data from a form and send it to an email using SendGrid

# If anyone knows the answer, I would be grateful for your help