Launch NodeJS Server as administrator on Windows 10

Is it possible to launch a NodeJS server from Webstorm as administrator and how ?
My problem is that my node server is using a library that calls symlink fs methods.

runnerw.exe is not launched as administrator, so symlink fails.

Behavior is as expected when I manually launch my node server from command line.

Any idea ?

0
2 comments

you can run Webstorm itself with elevated permissions - processes run from WebStorm inherit WebStorm permissions. But I'd say that running as root is not a good practice.
Please see comments in https://youtrack.jetbrains.com/issue/WEB-11972 for possible workarounds

0
Avatar
Permanently deleted user

Thank you for the hints; it will help before releasing my app !

0

Please sign in to leave a comment.