strapi-community / strapi-plugin-protected-populate

MIT License
20 stars 5 forks source link

Installation issues #8

Closed oioioiio closed 1 year ago

oioioiio commented 1 year ago

Hi. Thanks for the interesting plugin. I had difficulties while trying to build Strapi after installing the plugin.

ModuleNotFoundError: Module not found: Error: Package path ./addon/display/placeholder is not exported from package /home/XXX/XXX/node_modules/codemirror

Also, in what file do I configure the plugin? It's not entirely clear in the documentation.

Strapi v4.6.2 Node v16.19.0

Boegie19 commented 1 year ago

@oioioiio You should rebuild your admin and than it should show a specific tab in what you can do all edits also your error is intresting let me look into if I can replicate it.

Boegie19 commented 1 year ago

I did some testing and I could not reproduce the issue

prestonator commented 1 year ago

I'm having the same issues as @oioioiio

And I also think there should be a clearer guide on configuring this plugin, because all I see is the yarn add part and no additional steps. I've deleted the Strapi cache, node_modules, rebuild the admin panel. Alas, the same error keeps popping up.

If I can get this working, I feel like it would be awesome!

Let me know if you need any information from me to see if there is a problem.

Strapi v4.7.1

yarn run v1.22.19 $ strapi build Building your admin UI with development configuration... ℹ Compiling Webpack ModuleNotFoundError: Module not found: Error: Package path ./addon/display/placeholder is not exported from package /srv/app/node_modules/codemirror (see exports field in /srv/app/node_modules/codemirror/package.json)

Boegie19 commented 1 year ago

@prestonator @oioioiio Okay now can you give me more information like

Node.js version: NPM version: Strapi version: Database: Operating system:

Boegie19 commented 1 year ago

Update just got the issue confirmed on linux

Boegie19 commented 1 year ago

This is a strapi issue will see if I can fix it somehow https://github.com/strapi/strapi/issues/15796

prestonator commented 1 year ago

@Boegie19

Here's this info in case you still need it:

Node version: 18.14.2 NPM Version: 9.5.0 Strapi version: 4.7.1 Database: PostgreSQL 15.2 OS: Docker Image from My Docker Profile not sure what OS sorry :/

Boegie19 commented 1 year ago

This issue is fixed on 4.8.0