Quokka won't start on VSCode, not sure how to fix my node

1.7k Views Asked by At

Quokka is throwing the errors "spawn node ENOENT", "Can not start node.js(node), make sure your system has node.js installed", and "You may use the "node" setting to configure the location of node."

I'm new to VSCode and Quokka and have no clue how to fix this or to even find config.json

1

There are 1 best solutions below

0
On

Assuming you have node installed and you are either on mac or linux, run which node and add that path to ~/.quokka/config.json

{
  ...
  "node": "<node_path>"
}

I use nvm so mine looks like this:

{
  ...
  "node": "~/.nvm/versions/node/v16.10.0/bin/node"
}