Cannot read properties of undefined (reading 'allPermissions')

I deleted the node_modules folder, removed my yarn and package lock files, then in my package.json file i made sure the versions for strapi, plugin-users-permissions etc. were correct (in my case i corrected them based on the package.json file of a fresh strapi install on my local machine.

Then I ran npm install and pushed to production and it worked … no more white screen or that error in the console!

1 Like