No 'build' in root turbo.json

but I’m getting an error saying “Could not find ‘ROOT#build’ in root turbo.json”. The versions of Turbo and Node.js I’m using are 1.10.6 and 18, respectively. I don’t know why I’m getting this error, as the other commands seem to be working properly.

This error typically occurs when the Turbo module is unable to locate the #build property in the turbo.json file. To resolve this issue, follow these steps:

  1. Open the turbo.json file in your project directory.
  2. Make sure that the turbo.json file contains a #build property. If it doesn’t, add the following code to your turbo.json file:
{
  "#build": {
    "transform": "turbo-defaults",
    "output": "dist"
  }
}
  1. Save the turbo.json file and try running the command again.

This should resolve the error and allow your other Turbo commands to work properly.