Troubleshoot common issues
Quick answers to the problems reported most often by real users, from the missing Vue template box to site-wide JSON:API 403 failures.
This page covers the issues that account for most of the confusion reported by real users over the life of this project. Each entry is a quick answer, with a link wherever a fuller explanation exists.
4 of 21 issues
Pages and routing
"Missing Vue template" box Expected in development: nothing themes that component yet. Expand it to create the file.
You're not seeing an error, this is expected. DruxtBlock and
DruxtField both show this box when nothing themes them yet (other modules
don't have it), and it only appears in development mode (nuxt dev).
Production builds show nothing there instead.
Expand the box: it lists every valid wrapper name for that component and has a Create button that scaffolds the file for you. See Theme Druxt components for the full explanation and how the wrapper-naming system works.
The site only shows "Welcome to Nuxt" Delete pages/index.vue so Drupal serves the homepage.
The Nuxt scaffolder creates a default pages/index.vue, and an explicit
page always wins over Druxt's wildcard route. Delete pages/index.vue
and the homepage resolves through Drupal like every other path. See
Decoupled routing.
A page shows "not found", or the wrong content Ask Decoupled Router what the path resolves to.
Druxt asks the Decoupled Router module which entity or View each path
belongs to, at its /router/translate-path endpoint. Request the same
endpoint from the machine that runs your Nuxt site. Replace
https://cms.example.com with your baseUrl, and /about with the
path that fails, language prefix included (such as /es/about):
curl 'https://cms.example.com/router/translate-path?path=/about'- It names the right
entityorview. Drupal is fine, so look at the Nuxt side: a file inpages/that wins over the wildcard route, as in the "Welcome to Nuxt" entry, or a server cache that hasn't cleared yet, as in Edited content stays stale. - It names the wrong entity. The alias is on more than one page, or it belongs to another language. Check them under Drupal → Configuration → Search and metadata → URL aliases.
- It answers 404, "Unable to resolve path". No page in Drupal has
that path. Check the URL alias on the page's edit form, and the
language prefix. If it started after a
composer update, see Routes and Views paths stop resolving. - It answers 403, "Access denied for entity". Drupal found the
page, but
curldoesn't send a login, so Drupal answers as it would an anonymous visitor. Check that the page is published. If only signed-in users should see it, the 403 is expected.
Still stuck?
- Ask the docs. The docs MCP server, at
https://druxtjs.org/mcp, lets an AI assistant search and read these pages. MCP, the Model Context Protocol, is how AI assistants connect to outside tools. - Search the existing issues before you report. Each part of Druxt
has its own queue:
- Druxt, the Nuxt modules: github.com/druxt/druxt.js
- DruxtAuth, the login module: github.com/druxt/druxt-auth
- The Drupal Druxt module: drupal.org/project/issues/druxt
- JSON:API Views: drupal.org/project/issues/jsonapi_views
- Simple OAuth: drupal.org/project/issues/simple_oauth
- Decoupled Router and JSON:API Menu Items, on GitLab work items: decoupled_router and jsonapi_menu_items.
- Report a Druxt bug or ask for a feature with a new issue. Include the steps to reproduce and your Druxt, Nuxt, Node and Drupal versions.
- Fix it yourself. The druxt.js contributing guide explains how.