I got it the correct command would be:
npx create-expo-app@latest --template
and select the blank from the options to get the bare minimum configuration, just like the React Native one with JavaScript.
Answer from Paresh Bhamare on Stack OverflowVideos
» npm install create-expo
» npm install create-expo-app
I got it the correct command would be:
npx create-expo-app@latest --template
and select the blank from the options to get the bare minimum configuration, just like the React Native one with JavaScript.
npx create-expo-app --template blank
This command helps you to install app on basic format which is 'jsx' format.
Hello everyone,
I'm relatively new to the world of react-native.
I've now come across the fact that I wanted to learn some React in my spare time and made something with ChakraUi.
Now my app has been built so well that I want to convert it into a mobile app.
I have read a lot that the first step with Expo was a good solution for me.
But I have some questions that I still have problems understanding.
If I want to build a new app with npx create-expo-app@latest, the structure is quite complicated for me at first and the one thing is that TypeScript is used.
I mainly only used JavaScript in my React app. Can I get away from TypeScript at all?
Another question is. Do I need such a complicated structure for now.
Can't I use something like this: https://snack.expo.dev/?platform=ios
Here the structure looks pretty simple and understandable.
Trying to set up expo and its giving me these errors
PS C:\Users\username> npx create-expo-app@latest
npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\username\AppData\Roaming\npm
npm error errno -4058
npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\username\AppData\Roaming\npm'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
No matter what solutions I find online it doesn't appear to be working at all, I've tried clearing caches and creating json files but the same error happens every time. very new to this so any help will be appreciated thanks.