system: win11
use vite-plugin-mkcert ^1.13.0 get error
1.10.1 work well
error when starting dev server:
TypeError: commandResult.toString(...).replaceAll is not a function
at Mkcert.retainExistedCA (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:514:32)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Mkcert.createCertificate (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:542:5)
at async Mkcert.regenerate (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:566:5)
at async Mkcert.renew (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:665:7)
at async Mkcert.install (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:678:7)
at async config (d:\apps\docker-lnmp\www\trunk\static\static-src\static-advanceV2\node_modules\vite-plugin-mkcert\dist\mkcert.js:708:27)
at async runConfigHook (file:///d:/apps/docker-lnmp/www/trunk/static/static-src/static-advanceV2/node_modules/vite/dist/node/chunks/dep-3007b26d.js:62340:25)
at async resolveConfig (file:///d:/apps/docker-lnmp/www/trunk/static/static-src/static-advanceV2/node_modules/vite/dist/node/chunks/dep-3007b26d.js:61841:14)
at async createServer (file:///d:/apps/docker-lnmp/www/trunk/static/static-src/static-advanceV2/node_modules/vite/dist/node/chunks/dep-3007b26d.js:61127:20)
system: win11 use vite-plugin-mkcert ^1.13.0 get error 1.10.1 work well