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

Bug: Unable to run the commandline #39

Closed dinukasal closed 3 years ago

dinukasal commented 4 years ago

Event log says this(notification also popsup) when running any command(by clicking icons):

React Native Console: Unable to run the commandline:Cannot run program "npm" (in directory "project_folder"): error=2, No such file or directory

Can I set node binary path for terminal used in this console? Or how to fix this?

Thank you!

beansoft commented 4 years ago

Normally, if you can run npm in system terminal or command prompt(windows), the plugin will works. I find npm in system PATH envs.

Kiarlts commented 4 years ago

+1

beansoft commented 4 years ago

Do you using the latest RN version 0.62?

beansoft commented 3 years ago

due to long inactive of this issue, i'll close it, if you still has problems, you can reopen it at any time.