Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causing issues with Strapi v4.15.0 #35

Closed
JonathanJohnson023 opened this issue Oct 29, 2023 · 3 comments · Fixed by #36 or #37
Closed

Causing issues with Strapi v4.15.0 #35

JonathanJohnson023 opened this issue Oct 29, 2023 · 3 comments · Fixed by #36 or #37
Assignees
Labels
bug Something isn't working in progress We are currently working on this item

Comments

@JonathanJohnson023
Copy link

"styled-components": "^5.3.6"

I think it just needs to be decremented to 5.3.3 which @strapi/admin@4.15.0 is using

$ npm install @offset-dev/strapi-calendar@0.1.0
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: peak-golf-academy@0.1.0
npm ERR! Found: styled-components@5.3.3
npm ERR! node_modules/styled-components
npm ERR!   styled-components@"5.3.3" from @strapi/admin@4.15.0
npm ERR!   node_modules/@strapi/admin
npm ERR!     @strapi/admin@"4.15.0" from @strapi/strapi@4.15.0
npm ERR!     node_modules/@strapi/strapi
npm ERR!       peer @strapi/strapi@"^4.3.4" from @strapi/admin@4.15.0
npm ERR!       5 more (@strapi/data-transfer, @strapi/plugin-documentation, ...)
npm ERR!   peer styled-components@"^5.2.1" from @strapi/design-system@1.13.0
npm ERR!   node_modules/@strapi/admin/node_modules/@strapi/design-system
npm ERR!     @strapi/design-system@"1.13.0" from @strapi/admin@4.15.0
npm ERR!     node_modules/@strapi/admin
npm ERR!       @strapi/admin@"4.15.0" from @strapi/strapi@4.15.0
npm ERR!       node_modules/@strapi/strapi
npm ERR!         peer @strapi/strapi@"^4.3.4" from @strapi/admin@4.15.0
npm ERR!         5 more (@strapi/data-transfer, @strapi/plugin-documentation, ...)
npm ERR!     peer @strapi/design-system@"1.13.0" from @strapi/helper-plugin@4.15.0
npm ERR!     node_modules/@strapi/admin/node_modules/@strapi/helper-plugin
npm ERR!       @strapi/helper-plugin@"4.15.0" from @strapi/admin@4.15.0
npm ERR!       node_modules/@strapi/admin
npm ERR!         @strapi/admin@"4.15.0" from @strapi/strapi@4.15.0
npm ERR!         node_modules/@strapi/strapi
npm ERR!   17 more (@strapi/helper-plugin, @strapi/design-system, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @offset-dev/strapi-calendar@"0.1.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: styled-components@5.3.11
npm ERR! node_modules/styled-components
npm ERR!   peer styled-components@"^5.3.6" from @offset-dev/strapi-calendar@0.1.0
npm ERR!   node_modules/@offset-dev/strapi-calendar
npm ERR!     @offset-dev/strapi-calendar@"0.1.0" from the root project
@ciriousjoker
Copy link
Contributor

Aside from that though, it also breaks when navigating to it in 4.15.5 (and probably later)

@LuisRodriguezLD
Copy link
Contributor

Thanks for bringing this to my attention.
As a quick workaround, it seems to be working fine if you use yarn
I will review the PR and report back

@LuisRodriguezLD LuisRodriguezLD self-assigned this Nov 3, 2023
@LuisRodriguezLD LuisRodriguezLD added bug Something isn't working in progress We are currently working on this item labels Nov 3, 2023
@LuisRodriguezLD
Copy link
Contributor

Closed on #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress We are currently working on this item
Projects
None yet
3 participants