Monday, 29 May 2017

js and react-native : editor doesnot recognize my import from react : import React, { Component } from 'react'

Hey Im a beginner in using javascript and the framework react-native. I have the task to programm a mobile web-app with react-native with an other student from my class. He started to build an app, which is build without any problems on his Android-Emulator. He sent me his App and in my editor (JetBrains Webstorm, my partner uses the same editor ) it doesnot recognize my import react. But when I start the app in my commandline with react-native run-android everything function and I can see the app, but my problem is that I can't run it from my editor. I have already install those in my commandline :

C:\Users\Hang>npm install -g yarn C:\Users\Hang>npm install -g react-native-cli

What did I forget to install ? Thanks for any help!!



via Hang

No comments:

Post a Comment