Tech support for flatpak of WebStorm

Hello, I've installed WebStorm as a flatpak from my distros (manjaro) official repositories, but I am having trouble giving webstorm access to my node and npm install locations.

I've given webstorm permissions via  

flatpak override com.jetbrains.WebStorm --filesystem=/usr/bin

and then inside WebStorm I have located my node package, but not in

/usr/bin 

but in

/run/host/bin/node. 

webstorm autodetects npm in

/run/host/lib/node_modules/npm

but then when i try to run any npm or node command in the webstorm terminal I only get 

sh: npm: command not found

please help, worst case I guess I just have to use the tarball from your website.

Thank you for your time

0
2 comments

I am not sure how exactly flatpack works and what changes it applies to the environment, you can check if the issue persists when starting the IDE from terminal to make sure that the environment variables (including $PATH) are correctly inherited

 

Note that WebStorm Flatpak package is not created, verified by, affiliated with, or supported by JetBrains s.r.o. Just in case, here is the feature request on our tracker to make our IDE's available on Flatpak:
https://youtrack.jetbrains.com/issue/IDEA-189485

 

1
Avatar
Permanently deleted user

As I feared. Well thank you for the quick response! 

I guess I have to use the tarball.

Thanks again. 

0

Please sign in to leave a comment.