beansoft / react-native-console

🧩 an IDEA/WebStorm/Android Studio Plugin for One-Click run React Native commands in embed terminal
BSD 3-Clause "New" or "Revised" License
185 stars 28 forks source link

run on Android and iOS devices IllegalArgumentException: Argument for @NotNull parameter 'exePath' #56

Closed beansoft closed 4 years ago

beansoft commented 4 years ago

When using latest RN version and run with ios simulators drop down and android devices drop down:

Using the wrong react-native command line.

java.lang.IllegalArgumentException: Argument for @NotNull parameter 'exePath' of com/intellij/execution/configurations/GeneralCommandLine.setExePath must not be null at com.intellij.execution.configurations.GeneralCommandLine.$$$reportNull$$$0(GeneralCommandLine.java) at com.intellij.execution.configurations.GeneralCommandLine.setExePath(GeneralCommandLine.java) at com.intellij.execution.configurations.GeneralCommandLine.(GeneralCommandLine.java:104) at com.intellij.execution.configurations.GeneralCommandLine.(GeneralCommandLine.java:98) at com.github.beansoftapp.reatnative.idea.views.A.ā(Unknown Source) at com.github.beansoftapp.reatnative.idea.views.A.ā(Unknown Source) at com.github.beansoftapp.reatnative.idea.actions.console.C.I$2.doAction(Unknown Source) at com.github.beansoftapp.reatnative.idea.actions.G.actionPerformed(Unknown Source) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282)