Cloudflare DevelopersCD
Cloudflare Developers5mo ago
1 reply
Jim

IDE not picking up $schema in wrangler.jsonc

Hey all I'm pretty new to wrangler, I'm trying to setup autocomplete in the wrangler.jsonc config but my IDE doesnt seem to pick up the schema:

{
  "$schema": "node_modules/wrangler/config-schema.json", // warning
  "name": "user-application",
  "main": "worker/index.ts",
  "compatibility_date": "2025-06-17",
  "assets": {
    "binding": "ASSETS",
    "not_found_handling": "single-page-application"
  },
  "observability": {
    "enabled": true
  }
}


Gives me the warning:

Unable to load schema from '[...]/cloudflaretest/apps/marketing/node_modules/wrangler/config-schema.json': Schema not found: file:///[...]/cloudflaretest/apps/marketing/node_modules/wrangler/config-schema.json.


But the file is there when I look in the node_modules folder. I'm using pnpm workspaces in VScode. Couldnt find any docs on $schema on the site.
Any help would be great!
Was this page helpful?