markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.52k stars 997 forks source link

PWA Studio error starting #791

Open cctorres opened 1 year ago

cctorres commented 1 year ago

Description Hi and thank! I am trying to install a clean PWA version. Buy I am getting a error when I try to start the server.

Steps To Reproduce

  1. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
  2. docker-compose -f docker-compose.yml up -d
  3. bin/npm install yarn
  4. bin/setup-pwa-studio magento.test
  5. bin/pwa-studio

Expected Result PWA started.

Actual Result

(node:95315) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. (Use node --trace-warnings ... to show where the warning was created) FetchError: request to https://magento.test/graphql failed, reason: connect ECONNREFUSED 127.0.0.1:443

markshust commented 1 year ago

I'm eager to learn more about PWA Studio and explore its potential, but I'm having challenges with installation and configuration. I tried multiple methods, but none of them worked for me.

The documentation is not as clear as I would like, especially for Docker environments. I'm open to suggestions and updates that could help me get PWA Studio working and make the most of it for docker-magento.