diego3g / rocketredis

A beautiful Redis GUI :fire: (under development)
MIT License
1.92k stars 173 forks source link

Error execute yarn dev #97

Closed saymondamasio closed 3 years ago

saymondamasio commented 4 years ago

Error when executing yarn dev

npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1595973395396-0.20066777516086587/node but npm is using /home/saymon/.nvm/versions/node/v12.17.0/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.

System: Windows 10 Pro with WSL 2

saymondamasio commented 4 years ago

It would be because I'm using nvm??

diego3g commented 4 years ago

I think the problem is that you installed Yarn with Node together, but i can't be 100% sure.

saymondamasio commented 4 years ago

I'll try with npm

saymondamasio commented 4 years ago

I think that developing Electron using wsl will not work because it does not render apps for now.

ggmorais commented 4 years ago

@saymondamasio In fact WSL2 can render GUI applications, like Electron, just follow these simple steps here https://www.scivision.dev/x11-gui-windows-subsystem-for-linux/ (I use Xming server and works perfect)

saymondamasio commented 4 years ago

@ggmorais Thanks, II'I try

saymondamasio commented 4 years ago

@ggmorais
Just one more question, you develop react native in wsl using the server Xming? It is possible?🤔

ggmorais commented 4 years ago

@saymondamasio I never tested but I think it is possible. If you run an Android/IOS emulator on wsl2 the Xming should render the gui normally, but I'm not sure, cause it would be a virtual machine running on a virtual machine 🤔. Otherwise if you're going to use the adb tools and a physical smartphone it would be a way more easier.