Not compatible with neovide. Throw error:"copilot copilot_node_comman(node) is not executable" #158
-
Here is my copilot.lua configuration {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
build = ":Copilot auth",
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
},
} I excute |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Neovide doesn't have access to Is Neovide installed inside WSL or outside? Make sure Node.js is installed in the same environment. How are you launching Neovide? Either make sure it has access to the Or specify full path to Node.js executable to {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
build = ":Copilot auth",
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
copilot_node_command = "/path/to/node"
},
} |
Beta Was this translation helpful? Give feedback.
Neovide doesn't have access to
node
executable. That's why it's showing the error.Is Neovide installed inside WSL or outside? Make sure Node.js is installed in the same environment.
How are you launching Neovide?
Either make sure it has access to the
node
executable (via path environment variable).Or specify full path to Node.js executable to
copilot_node_command
in setup:@GinmusWJQ