GeekyAnts / vue-native-cli

Write Native Mobile Apps using Vue. Vue Native is a wrapper around React Native APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant init project

sharkguto opened this issue · comments

Description of the bug
A clear and concise description of what the bug is.

To Reproduce
gustavo@terminator-T2900:/git-projects/vue-native-app$ vue-native init teste
An error occurred while getting Expo CLI version Error: Command failed: expo --version 2>/dev/null
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at Object.getCrnaVersionIfAvailable (/usr/local/lib/node_modules/vue-native-cli/src/utils/validation.js:65:9)
at Command. (/usr/local/lib/node_modules/vue-native-cli/src/index.js:29:63)
at Command.listener (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:315:8)
at Command.emit (events.js:315:20)
at Command.parseArgs (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:651:12)
at Command.parse (/usr/local/lib/node_modules/vue-native-cli/node_modules/commander/index.js:474:21)
at Object. (/usr/local/lib/node_modules/vue-native-cli/src/index.js:82:9)
at Module._compile (internal/modules/cjs/loader.js:1138:30) {
status: 1,
signal: null,
output: [ null, , ],
pid: 74011,
stdout: ,
stderr:
}
Please globally install expo-cli
gustavo@terminator-T2900:
/git-projects/vue-native-app$ expo --version 2>/dev/null
3.21.5
gustavo@terminator-T2900:/git-projects/vue-native-app$ node --version
v12.18.0
gustavo@terminator-T2900:
/git-projects/vue-native-app$

Screenshots

image

What I expected
init project but does not work

Did I use vue-native-cli to create the project?
Yes/No

Am I using Expo?
Yes

Development platform (please complete the following information):

  • OS: ubuntu 20.04
  • Shell/terminal: bash

The device on which I run my Vue Native app

  • Device: xiaomi mi9
  • OS: android 10

Additional context
cant init project

It seems like expo-cli is not installed globally as mentioned in the docs. Please install that and try again. You can reopen the issue if the problem persists.