i deleted node_modules forlder and package-lock.json file and re install the project.
I just genarate this 2 files and give the authorization for mkcert. and it works for me.
C:UsersMasudur Rahman.vite-plugin-mkcertdev.pem
C:UsersMasudur Rahman.vite-plugin-mkcertcert.pem
The problem is the space character in the path C:UsersMasudur Rahman.vite-plugin-mkcertmkcert.exe as one can see in the error message.
There are several options to solve that, for example:
Place the file mkcert.exe at a path that contains no spaces.
Change the calling source code, so it can handle spaces in paths.
Escape the space character in the path (if possible), so the call succeeds
2
Answers
i deleted node_modules forlder and package-lock.json file and re install the project. I just genarate this 2 files and give the authorization for mkcert. and it works for me. C:UsersMasudur Rahman.vite-plugin-mkcertdev.pem C:UsersMasudur Rahman.vite-plugin-mkcertcert.pem
The problem is the space character in the path
C:UsersMasudur Rahman.vite-plugin-mkcertmkcert.exe
as one can see in the error message.There are several options to solve that, for example:
mkcert.exe
at a path that contains no spaces.Maybe this post is also helpful.