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

[Bug Report] Remind me 'element-ui/lib/descripitions in ./src/element-ui/index.js' and 'element-ui/lib/descripitions-item in ./src/element-ui/index.js' were not found #21262

Closed
NicholasNap opened this issue Aug 24, 2021 · 4 comments · Fixed by #21265

Comments

@NicholasNap
Copy link

Element UI version

2.15.5

OS/Browsers version

Windows 10 / Chrome 92.0.4515.159

Vue version

2.5.17

Reproduction Link

https://codesandbox.io/s/exciting-shannon-n1tps?file=/src/components/HelloWorld.vue

Steps to reproduce

  1. npm install --save element-ui@^2.5.17

  2. use 'Descripitions' and 'DescripitionsItem'
    then, you can see the message below :

    These dependencies were not found:

    • element-ui/lib/descripitions in ./src/element-ui/index.js
    • element-ui/lib/descripitions-item in ./src/element-ui/index.js
      To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item

What is Expected?

use Descripitions And DescripitionsItem component formally
and my solution is alter the file in that path -- 'node_modules/element-ui/types/element-ui.d.ts'
named Descripitions to Descriptions
named DescriptionsItem to DescriptionsItem

What is actually happening?

These dependencies were not found:
* element-ui/lib/descripitions in ./src/element-ui/index.js
* element-ui/lib/descripitions-item in ./src/element-ui/index.js
To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item

@adaex
Copy link
Contributor

adaex commented Aug 25, 2021

@NicholasNap
Correct spelling is Descriptions, not Descripitions. You write a wrong letter i

@NicholasNap
Copy link
Author

NicholasNap commented Aug 25, 2021

@NicholasNap
Correct spelling is Descriptions, not Descripitions. You write a wrong letter i

What I mean is the words 'Descripitions' and 'DescripitionsItem' is actually exsits in that lib, it's really wrong spelling in that lib

@adaex
Copy link
Contributor

adaex commented Aug 25, 2021

Oh, you are right. I will fix this problem later.

@zch233
Copy link

zch233 commented Aug 30, 2021

Is it released?

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

Successfully merging a pull request may close this issue.

3 participants