Sublime Forum

Prettify node.exe error 5 access denied

#1

[Win10Pro, ST4]

trying to run Prettify and i keep getting this access error. the path name is correctly set as per instructions:

"node_path":
{
    "windows": "C:/Program Files/nodejs/node.exe",
    "linux": "/usr/bin/nodejs",
    "osx": "/usr/local/bin/node"
},

and the permissions on the install path are wide (WIDE) open: Everyone with Full Control (shudder).

so i am stumped as to why i keep getting this error. oddly, other packages that need node.exe work mostly without issue (stupid linters…).

i do not know if this is a ST issue or a Prettify issue. consequently i have opened a ticket on github, and i’m posting here to see if anyone else has/had the same problem and if they have a fix.

0 Likes

ST4 as Admin -> WinError 5
#2

This would be a Prettify issue, since it’s the thing that is trying to execute node and failing.

That error on windows usually means something like trying to execute the wrong thing (classically trying to execute a folder instead of an executable).

As a sanity confirmation, what does where node display when you run it in a command prompt?

0 Likes

#3

where node returns C:\Program Files\nodejs\node.exe. so looks like i’m stuck. greeeaaat… bloody Windoze…

0 Likes