Description
Package containing the bug
I’m not sure
Describe the bug
The info published in: https://next-drupal.org/learn/quick-start/create-nexts-project is missing some information in case of ddev installations:
Before continuing, configure the Next.js site from the Drupal admin panel by navigating to /admin/config/services/next. Press ‘Add Next.js site’ and follow the instructions. Additionally, to generate DRUPAL_CLIENT_ID and DRUPAL_CLIENT_SECRET, you can retrieve them from /admin/config/services/consumer.
Now create .env.local file in your Next.js project and duplicate the contents of .env.example into it. Be sure to update constants like NEXT_PUBLIC_DRUPAL_BASE_URL with your Drupal URL. You can retrieve these variables from the Drupal site's admin panel at admin/config/services/next since we have already added the Next.js site. Simply press "environment variables" and copy the content.
Please add the following line to your .env file:
NODE_TLS_REJECT_UNAUTHORIZED=0
Info extracted from: https://medium.com/@EleneSh/why-you-should-use-drupal-with-next-js-and-how-to-get-started-6a91cecd772a