#local setup up for nextjs+drupal
13 messages · Page 1 of 1 (latest)
what did you try, what didn't work
-> do you have an error message server-side or client-side, in Next.js or Drupal?
-> how is your connection configured, via an environment variables?
Hello @snow widget! I am not the OP, but this is the only thread I have found when searching for Drupal in this forum. I too am trying to source from Drupal - using ChapterThree's next-drupal setup.
I am running Next.js 13.5.6, Node 18.17.1, Drupal 10
My specific error is this one, which I get right out of the starting gate:
Error: Failed to fetch JSON:API index at https://next-drupal-01.ddev.site/jsonapi - fetch failed
I guess my preference would be to use GraphQL, but I figured I'd try JSON:API since the tutorial for next-drupal uses it.
I believe I have followed these guidelines accurately:
https://next-drupal.org/learn/quick-start/create-nexts-project
Anyway, thanks for any help you are able to offer!
@graceful fable did you ever get your setup to work?