siliushi / VUEFormatter

formate your vue code
26 stars 5 forks source link

Node.js was not found in the default path. Please specify the location. [LINUX] #5

Closed jericopulvera closed 7 years ago

jericopulvera commented 7 years ago

Settings

{
  "node_path": {
    "windows": "C:/Program Files/nodejs/node.exe",
    "linux": "/usr/bin/nodejs",
    "osx": "/usr/local/bin/node"
  },
  // Automatically format when a file is saved.
  "format_on_save": false,
  // Only format the selection if there's one available.
  "format_selection_only": true,
  // Log the settings passed to the prettifier from `.vuebeautifyrc`.
  "print_diagnostics": true
}

I'm on linux and the path is right but it is not working.

jericopulvera commented 7 years ago

Turns out I just need to restart my sublime.