0
respostas

Erro na execução do comando npm create vite@latest luz-e-cena -- --template react-ts (UNABLE_TO_GET_ISSUER_CERT_LOCALLY)

Olá, estou recebendo o seguinte erro ao tentar criar a aplicação:

npm error code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm error errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm error request to https://registry.npmjs.org/create-vite failed, reason: unable to get local issuer certificate
npm error A complete log of this run can be found in: /Users/lhsnkvf/.npm/_logs/2025-11-03T18_12_50_886Z-debug-0.log

Tanto usando o comando "npx create vite@latest luz-e-cena -- --template react-ts" quanto "npm init vite@latest luz-e-cena -- --template react-ts"

Matricule-se agora e aproveite até 50% OFF

O maior desconto do ano para você evoluir com a maior escola de tecnologia

QUERO APROVEITAR