Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

146
Views
Vue native "Element type is invalid" error after initialising the project

I just made a vue-native project using vue-native init henry-pager and then CDd into the directory and ran expo start to start the online builder gui thingy. When I try and run it in the web - it gives this error:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

Check the render method of `ExpoRootComponent`.

Please help, I just made this vue-native project and started it and don't know what to do now!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Even if you use Expo, you should start the project by the following command: npm start instead of expo start

The steps that works for me.

Step 0: Install vue-native-cli

npm install --global vue-native-cli

Step 1: Install Expo CLI globally

$ npm install --global expo-cli

Step 2: Create a new project using the CLI’s init command

$ vue-native init <projectName>

Now cd into the newly created directory and start the development server.

$ cd <projectName>
$ npm start
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!