Webstorm - Cordova integration
Hi there,
I want to start my first ionic project, however I get error on Corvoda path. this is my setup :-
Downloaded nodejs from their website in a tar file. > I have done the following commands:
npm install phonegap
npm install cordova
npm install ionic
Then I downloaded webstorm
create new project > corvoda project
once the project starts I get the following error :-
"" Create Cordova Project: Error creating Cordova App. Incorrect path ""
so I read some articles, then I opened Settings> Languages & Frameworks > JavaScript > Corvoda . and modified the excitable path to be as below :-
"" /home/alme7airbi/node-v8.12.0-linux-x64/lib/node_modules/cordova/bin/cordova.cmd ""
screenshot

Please sign in to leave a comment.
`cordova.cmd` is definitely not a valid cordova executable on linux:)
Please try running
which cordovain your system terminal - what is the result?Hi I used cordova in this location and it works but also when I give webstorm this file it give me the same error
As you can see in this image
please provide your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files) - do not paste it here, upload it to some file server and give me a link
Hi thanks
This is log file link
https://drive.google.com/open?id=1v7JJgtaONLWs1ws-Eq8w5Nr8AxcSTLnD
no clues unfortunately... Please can you try enabling debug logging for
#com.github.masahirosuzuka.PhoneGapIntelliJPlugin.commandLine.PhoneGapCommandLinecategory (via Help/Debug Log Settings), recreate the issue (try creating a project) and provide the new idea.log?what level I should type in there and what is the correct spelling , Thanks
Just paste
#com.github.masahirosuzuka.PhoneGapIntelliJPlugin.commandLine.PhoneGapCommandLinethere and press OKThanks
This is the new log
https://drive.google.com/open?id=1qVW5YhycG8mOH5sd1xN51Fd3vo3xjmjZ
it looks like
nodecan be found on your $PATH. Please try running WebStorm from terminal - does the issue persist?It works from the terminal, great ! ..
I still didn't get it, why it works their and from desktop doesn't ?
is there a way I can fix it ? Thanks
When being launched from desktop/System menu, WebStorm only sees environment variables configured in
~/.profile(login shell), but not in interactive shell configuration files (like~/.bashhrc). Possible workarounds:.bashrcto.bash_profile).bin/webstorm.sh/bin/bash -l -i -c "/path/to/webstorm.sh"see also https://youtrack.jetbrains.com/issue/IDEABKL-7589
Thank you very much for the help today ! Good luck
you are welcome:)
Please. I have the same issue. I'm using Windows OS X.
What issue, sorry? The problem discussed in this thread is specific to UNIX environment
Create Cordova Project: Error creating Cordova App. Incorrect path in WebStorm's event log.
Please share a screenshot of Settings | Languages & Frameworks | JavaScript | Cordova page