geist-org / geist-ui

A design system for building modern websites and applications.
https://geist-ui.dev
MIT License
4.33k stars 334 forks source link

Cannot find module 'components/utils/prop-types' #425

Closed terrainwax closed 3 years ago

terrainwax commented 3 years ago

Bug report 🐞

Version & Environment

Expection

Component working on react typescript

Actual results (or Errors)

ERROR in F:/Nouveau dossier (5)/CrewLink/node_modules/@geist-ui/react/dist/input/input-props.d.ts(2,40): TS2307: Cannot find module 'components/utils/prop-types' or its corresponding type declarations. ERROR in F:/Nouveau dossier (5)/CrewLink/node_modules/@geist-ui/react/dist/loading/loading.d.ts(2,42): TS2307: Cannot find module 'components/utils/prop-types' or its corresponding type declarations. ERROR in F:/Nouveau dossier (5)/CrewLink/node_modules/@geist-ui/react/dist/progress/progress.d.ts(2,29): TS2307: Cannot find module 'components/utils/prop-types' or its corresponding type declarations. ERROR in F:/Nouveau dossier (5)/CrewLink/node_modules/@geist-ui/react/dist/radio/radio-group.d.ts(2,29): TS2307: Cannot find module 'components/utils/prop-types' or its corresponding type declarations. ERROR in F:/Nouveau dossier (5)/CrewLink/node_modules/@geist-ui/react/dist/styles/theme-provider/theme- provider.d.ts(3,29): TS2307: Cannot find module '../../utils/types' or its corresponding type declarations.

unix commented 3 years ago

This is caused by the type reference path, but the package does not recognize the alias, I am in the process of fixing.

paul-vd commented 3 years ago

+1 on this

unix commented 3 years ago

fixed in the latest.