Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-native init fails #49

Open
Aymkdn opened this issue May 9, 2021 · 3 comments
Open

vue-native init fails #49

Aymkdn opened this issue May 9, 2021 · 3 comments

Comments

@Aymkdn
Copy link

Aymkdn commented May 9, 2021

Hi,

I'm a bit confused about the errors I get when I try vue-native init:

PS D:\> vue-native init android_tv_app
Using globally installed expo-cli 4.4.4

prompt: Directory android_tv_app is invalid. Do you want to continue?:  (no) y
Creating Vue Native project android_tv_app

- Creating project with react-native-cli
'react-native' is not recognized as an internal command
√ Created project with react-native-cli

(node:18892) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, chdir 'D:\' -> 'android_tv_app'

I'm using Windows 10.
I have the same error whatever I try npm 7 or npm 6.
There is no folder android_tv_app yet and I tried to create the folder but same issue.
I didn't install react-native-cli but I installed expo-cli.

@Aymkdn
Copy link
Author

Aymkdn commented May 9, 2021

When I install react-native-cli then it works… In the documentation it says either expo-cli or react-native-cli

@Aymkdn
Copy link
Author

Aymkdn commented May 10, 2021

Looks like the _ in project's name are not allowed… It's probably something you need to write in the documentation or to make the message "is invalid" more clear!

@Aymkdn
Copy link
Author

Aymkdn commented May 10, 2021

Also you need to install yarn otherwise you'll get errors :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant