Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Expo create new project error when type npx create-expo-app

$
0
0

I try to create a new project for React Native using Expo but get an error, I write the following comands:

npx create-expo-app ✔ What is your app named? … Test ✖ Something went wrong in downloading and extracting the project files: npm pack expo-template-default@latest --dry-run --json exited with non-zero code: 1 Error: npm pack expo-template-default@latest --dry-run --json exited with non-zero code: 1

I tried to reinstall node JS. Now it's node v20.13.1, npm v10.8.0. I work on Ubuntu 22.04.4 LTSNothing helped me.When I write npm pack expo-template-default@latest --dry-run --json then see the following answer:`

npm error code E404npm error 404 Not Found - GET https://npm.pkg.github.com/expo-template-blank/-/expo-template-blank-51.0.27.tgznpm error 404npm error 404  'https://registry.npmjs.org/expo-template-blank/-/expo-template-blank-51.0.27.tgz' is not in this registry.npm error 404 This package name is not valid, because npm error 404  1. name can only contain URL-friendly charactersnpm error 404npm error 404 Note that you can also install from anpm error 404 tarball, folder, http url, or git url.{"error": {"code": "E404","summary": "Not Found - GET https://npm.pkg.github.com/expo-template-blank/-/expo-template-blank-51.0.27.tgz","detail": "'https://registry.npmjs.org/expo-template-blank/-/expo-template-blank-51.0.27.tgz' is not in this registry.\nThis package name is not valid, because \n 1. name can only contain URL-friendly characters\n\nNote that you can also install from a\ntarball, folder, http url, or git url."  }}

`

Has anyone faced this problem?I have no idea how to fix it.Thanks


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>