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

Is it compatible with Akeneo 4 CE, EE and 3 CE versions? #3

Open
krishankantshandilya opened this issue Oct 25, 2021 · 8 comments
Open

Comments

@krishankantshandilya
Copy link

I am using the akeneo design system for my connector internal use and it is working fine on Akeneo 5 CE but after adding akeneo-design system on Akeneo 3 or 4 then I am getting the below issues:

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts(13,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts(13,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts(2,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts(2,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts(89,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts(89,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts(17,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts(17,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts(30,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts(30,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts(10,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts(10,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts(7,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts(7,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts(16,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts(16,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts(12,1)
TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts(12,13)
TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/icons/IconProps.d.ts
[tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/icons/IconProps.d.ts(11,1)
TS1128: Declaration or statement expected.

So I just want to know that is akeneo-design-system is compatible with the Akeneo version below 5?

@krishankantshandilya
Copy link
Author

Any update?

@DashDevFuture
Copy link

@krishankantshandilya
How you are using this in your module? can you share the steps? so I can help you.

@krishankantshandilya
Copy link
Author

krishankantshandilya commented Apr 4, 2022

@DashDevFuture
As this module comes within Akeneo5 by default so also I want to use this in Akeneo 4 but after installing this module , i reinstall the assets by there respective commands and got the mentioned error.

@DashDevFuture
Copy link

@krishankantshandilya
Sorry !
Why do you want to use this in akeneo 4?
are you using it in your plugin? if yes how to do that share the steps

@krishankantshandilya
Copy link
Author

@DashDevFuture
Yes, I want to use it in my module in akeneo 4.
To reproduce the issue please install it on akeneo 4 and then reinstall the assets on your akeneo and you should see the errors mentioned by me.

@DashDevFuture
Copy link

Why do you want to use this in akeneo 4?

@DashDevFuture Yes, I want to use it in my module in akeneo 4. To reproduce the issue please install it on akeneo 4 and then reinstall the assets on your akeneo and you should see the errors mentioned by me.

@krishankantshandilya
Copy link
Author

@DashDevFuture
I have already told, I have an extension which has dependency of it and my extension support Akeneo 3, 4, and 5.
So that's why I asked about it's compatibility. If it is not compatible then I think I should remove its dependency from my extension.

@DashDevFuture
Copy link

@krishankantshandilya

No you can't use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants