Comments (11)
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.
@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.
I confirm that Carousel is no longer used in Strapi. Which version of Strapi are you using?
from design-system.
@HichamELBSI I am using this version @strapi/strapi": "4.0.0",
from design-system.
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.
@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.
@HichamELBSI Also Please check this stack overflow thread. It is somewhat related to what I am facing
from design-system.
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.
FYI, the @strapi/provider-upload-cloudinary provider will not change the DS version.
from design-system.
@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.
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)
- [bug]: `v2/SimpleMenu` with Icon does not Show Icon
- [bug]: When there is no scroll bar on the page, the floating position of Tooltip will shift HOT 1
- [bug]: Cannot use vitest as UT library
- [bug]: Tooltip inside a Popover shown in a wrong position when onFocus HOT 1
- [bug]: The input element does not respond to keyboard entry HOT 3
- [bug]: error TS7016: Could not find a declaration file for module '@strapi/design-system'. HOT 2
- [bug]: Link v2 has no hover color/effect HOT 6
- [bug]: The onClear callback of SubNavHeader was not triggered
- [bug]: Change the NavLink component to support other values for the badgeContent attribute other than strings HOT 1
- [bug]: onReachEnd is not triggered in SimpleMenu component HOT 1
- [bug]: ComboBox doesn't show `noOptionsMessage` when there are no options to display HOT 1
- Long attribute names display outside the edge of the container
- [bug]: Popover does not close with the same button HOT 1
- [bug]: BoxProps makes CSSProperties mandatory. HOT 4
- [bug]: 2.0.0-beta.2 codemirror error Unrecognized extension value in extension set HOT 1
- [bug]: 2.0.0-beta.2 - invalid value for <svg> attribute width="1.6rem" HOT 1
- [bug]: Checkbox missing padding in RTL HOT 1
- [bug]: Badge add transparent as possible backgroundColor value and find a way to overwrite the textColor with the prop passed HOT 1
- [bug]: modal content is not displayed on webkit browsers (safari) HOT 1
- [bug]: Popover component minimal example doen't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from design-system.