buraste / strapi-nextjs-docker-boilerplate

🎨 Boilerplate for building Dockerized 🐳 applications using Strapi v4 + Next.js + Postgres +Nginx
https://github.com/burakibis/strapi-nextjs-docker-boilerplate
MIT License
77 stars 19 forks source link

Blank (white) page on create admin #3

Open ventsislavnikolov opened 1 year ago

ventsislavnikolov commented 1 year ago
  1. git clone https://github.com/buraste/strapi-nextjs-docker-boilerplate.git
  2. cd strapi-nextjs-docker-boilerplate
  3. rename .env.example to .env
  4. docker-compose pull
  5. docker-compose build && docker-compose up -d
  6. open http://localhost/strapi/admin or http://localhost/strapi/ and click create admin
  7. Observe there is blank white page
WeijieFu commented 1 year ago

@ventsislavnikolov Try downgrading npm version to 6.x.x (source)

SantoDon commented 1 year ago

hi @ventsislavnikolov ! i had the same error, but i could resolve, this my steps ware

1: go file "backend" ( cd backend ) 2: ejecute "yarn install" 3: execute "yarn build" 4: execute "docker-compose pull"

and done!

schmitzoide commented 1 year ago

Quick question regarding this. If I do this inside the folder that is mapped to the host local file system, it doesn't work, only when I do this via the docker shell interface. Is that the way it's supposed to work?

rautnihar commented 1 year ago

Downgrading strapi to 4.2.2 in the pacakge.json works