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

Cannot find module '@infectoone/vue-ganttastic' or its corresponding type declarations. #32

Open
IspeakIT opened this issue Feb 20, 2022 · 4 comments

Comments

@IspeakIT
Copy link

IspeakIT commented Feb 20, 2022

Hi, I get the following error when importing.
My project uses the latest version of Vue 3.2.31
But unfortunately, this error always comes.
What am I doing wrong?

ERROR in src/main.ts:3:24
TS2307: Cannot find module '@infectoone/vue-ganttastic' or its corresponding type declarations.
1 | import {createApp} from 'vue'
2 | import App from './App.vue'

3 | import ganttastic from '@infectoone/vue-ganttastic';

@aprasad2
Copy link

aprasad2 commented Mar 2, 2022

I am having the same issue - I added // @ts-ignore right before the import line.

@WillMitchell-V39191
Copy link

WillMitchell-V39191 commented May 13, 2022

Confirming that I had the same problem and that using ts-ignore works.

`
import { createApp } from 'vue'
import App from './App.vue'

// @ts-ignore
import ganttastic from '@infectoone/vue-ganttastic'

createApp(App)
.use(ganttastic)
.mount('#app')

`

@dpschen
Copy link
Contributor

dpschen commented Sep 8, 2022

The package currently doesn't expose types. See: #53

@zunnzunn
Copy link
Owner

Now that #53 and #62 have been merged, I'd be thankful if someone could install the latest version and tell me if the problem still persists (because I was not getting the error in the first place anyways).

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

5 participants