Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

376
Visualizações
Expo error while choosing template: Could not get npm url for package

Error:

Laptop:~/Documents/react$ expo init PasswordManager
✔ Choose a template: › blank               a minimal app as clean as an empty canvas
✖ Something went wrong while downloading and extracting the template.
Could not get npm url for package "expo-template-blank"

I am trying to set up React Native in my Linux Mint. I tried using sudo expo init PasswordManager but it was same, I tried doing sudo npm config set registry https://registry.npmjs.org/ and npm install expo-template-blank

Node version: v16.14.0

Edit: I tried reinstalling expo but no change

about 4 years ago · Juan Pablo Isaza
3 Respostas
Responde à pergunta

0

In my case Node was installed using Ubuntu Software

I have reinstalled using node js respo for ubuntu.

So it started Working

about 4 years ago · Juan Pablo Isaza Relatório

0

I had the same problem. I has installed node using snap.

I uninstalled it then used this to install a more recent version of node:

https://github.com/nodesource/distributions/blob/master/README.md#debinstall

And then everything worked.

If apt isn't available to you (because you arent on Ubuntu or similar) then you should still be installing node from nodesource.

Also worth noting, expo might not be tested against the latest greatest node.

At time or writing the active LTS version of expo needs a node version of >=14.0.0 <15.0.0

about 4 years ago · Juan Pablo Isaza Relatório

0

Downgraded the Node version to 12.x and it worked!!

sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash  

Then reinstall expo npm uninstall -g expo-cli

sudo npm install --unsafe-perm -g expo-cli

Now you can youse expo init!

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda