Open KingDamo17 opened 2 years ago
Did you set up the plugin according to the documentation? https://github.com/molnarmark/sublime-live-server#-settings
Tried it by myself, but what do you mean by setting it up. The default settings should work out of the box, shouldnt they?
The problem is, that it doesnt show any update, after doing the start command. And when you try to run Open Live server in Browser, it says, Live server isnt running
The default settings indeed work, but only on Linux. Any other OS, you need to change the settings.
Did you set up the plugin according to the documentation? https://github.com/molnarmark/sublime-live-server#-settings
yea i did. but on live server start and stop, it don't do anything but on live server open in browser it displays: live server isnt running. nothing to open I dont know what to do...
For Windows:
{
"node_executable_path": "C:/Program Files/nodejs/node",
"global_node_modules_path": "C:/Users/User/AppData/Roaming/npm/node_modules"
}
/User/ is your user name.
for Mac users:
{
"node_executable_path": "/usr/local/bin/node",
"global_node_modules_path": "/usr/local/lib/node_modules",
}
Also, make sure you have saved first your working file before attempting to launch Live Server from the command palette!
for Mac users:
{ "node_executable_path": "/usr/local/bin/node", "global_node_modules_path": "/usr/local/lib/node_modules", }
Also, make sure you have saved first your working file before attempting to launch Live Server from the command palette!
is it always "node_executable_path": "/usr/local/bin/node",? I ran whereis node
as per the readme and got a path of "/usr/bin/node /usr/include/node /usr/share/man/man1/node.1.gz"
. Neither seems to work as the node_executable_path within settings and I get the same issue as the OP.
Any help much appreciated.
Sublime text shows the live server command palette but does not do anything if I hit start or stop.
I am on mac and new to programming, so I could not clean up the npm audit. If I even need to.