Code Monkey home page Code Monkey logo

Comments (11)

HichamELBSI avatar HichamELBSI commented on September 3, 2024

Hello @krazylearner, the Carousel component has been renamed to CarouselInput in a previous alpha version to match the input components naming (NumberInput, TextInput, ToggleInput, etc).

from design-system.

krazylearner avatar krazylearner commented on September 3, 2024

@HichamELBSI Okay but this component is used by @strapi\plugin-upload. So how to fix this dependency ? It looks @strapi\plugin-upload is still using the old component name

from design-system.

HichamELBSI avatar HichamELBSI commented on September 3, 2024

I confirm that Carousel is no longer used in Strapi. Which version of Strapi are you using?

from design-system.

krazylearner avatar krazylearner commented on September 3, 2024

@HichamELBSI I am using this version @strapi/strapi": "4.0.0",

from design-system.

HichamELBSI avatar HichamELBSI commented on September 3, 2024

Strapi v4.0.0 is using the version 0.0.1-alpha.76 of the Design System where Carousel is still in the package. How can you get this error? Did you update the Design system version?

from design-system.

krazylearner avatar krazylearner commented on September 3, 2024

@HichamELBSI I am not sure. I was trying to install some dependencies . I installed this package https://www.npmjs.com/package/@strapi/provider-upload-cloudinary and started to see this error. Aftar that I did lot of install and uninstall and my package json file was also changed.

from design-system.

krazylearner avatar krazylearner commented on September 3, 2024

@HichamELBSI Also Please check this stack overflow thread. It is somewhat related to what I am facing

from design-system.

HichamELBSI avatar HichamELBSI commented on September 3, 2024

Please make sure the design system version is not changed or update your Strapi version to the latest.
This stack overflow thread isn't related to your problem.

from design-system.

HichamELBSI avatar HichamELBSI commented on September 3, 2024

FYI, the @strapi/provider-upload-cloudinary provider will not change the DS version.

from design-system.

krazylearner avatar krazylearner commented on September 3, 2024

@HichamELBSI I have updated to latest strapi version and that issue is gone but now I am getting another issue

`D:\oapps\myproj>npm run develop

[email protected] develop
strapi develop

[2022-03-07 23:54:45.921] debug: ⛔️ Server wasn't able to start properly.
[2022-03-07 23:54:45.923] error: Could not load js config file D:\oapps\myproj\node_modules@strapi\plugin-upload\strapi-server.js:
Something went wrong installing the "sharp" module

The specified module could not be found.
\?\D:\oapps\myproj\node_modules@strapi\plugin-upload\node_modules\sharp\build\Release\sharp-win32-x64.node

Possible solutions:

  • Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
  • Install for the current win32-x64 runtime: "npm install --platform=win32 --arch=x64 sharp"
  • Consult the installation documentation: https://sharp.pixelplumbing.com/install
    Error: Could not load js config file D:\oapps\myproj\node_modules@strapi\plugin-upload\strapi-server.js:
    Something went wrong installing the "sharp" module

The specified module could not be found.
\?\D:\oapps\myproj\node_modules@strapi\plugin-upload\node_modules\sharp\build\Release\sharp-win32-x64.node

Possible solutions:

  • Install with the --verbose flag and look for errors: "npm install --ignore-scripts=false --verbose sharp"
  • Install for the current win32-x64 runtime: "npm install --platform=win32 --arch=x64 sharp"
  • Consult the installation documentation: https://sharp.pixelplumbing.com/install
    at loadJsFile (D:\oapps\myproj\node_modules@strapi\strapi\lib\core\app-configuration\load-config-file.js:18:11)
    at loadFile (D:\oapps\myproj\node_modules@strapi\strapi\lib\core\app-configuration\load-config-file.js:35:14)
    at Object.loadPlugins (D:\oapps\myproj\node_modules@strapi\strapi\lib\core\loaders\plugins\index.js:96:26)
    at async Strapi.loadPlugins (D:\oapps\myproj\node_modules@strapi\strapi\lib\Strapi.js:277:5)
    at async Promise.all (index 1)
    at async Strapi.register (D:\oapps\myproj\node_modules@strapi\strapi\lib\Strapi.js:309:5)
    at async Strapi.load (D:\oapps\myproj\node_modules@strapi\strapi\lib\Strapi.js:407:5)
    at async Strapi.start (D:\oapps\myproj\node_modules@strapi\strapi\lib\Strapi.js:161:9)

D:\oapps\myproj>

`

Please can you help ?

It looks the issue is coming from sharp module. If I comment out the sharp module from strapi-plugin-upload then it works fine

from design-system.

HichamELBSI avatar HichamELBSI commented on September 3, 2024

Try to run npm rebuild sharp at the root of the repo. The issue is closed and this problem isn't related to the design system. Please open another one only if it is related to the design system and read the Strapi contributing guide and the Strapi Design System contributing guide before you open an issue.

from design-system.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.