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

Could not find a declaration file for module #193

Open
kaznache opened this issue Jun 4, 2021 · 2 comments
Open

Could not find a declaration file for module #193

kaznache opened this issue Jun 4, 2021 · 2 comments

Comments

@kaznache
Copy link

kaznache commented Jun 4, 2021

Hi!

Got an error after installing new version of vue-awesome (4.3.1)

Could not find a declaration file for module 'vue-awesome/components/Icon'. 'PATH/node_modules/vue-awesome/components/Icon.js' implicitly has an 'any' type.
Try `npm install @types/vue-awesome` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-awesome/components/Icon';`

Unfortunately @types/vue-awesome module doesnt exist.

I use it like this:

import Icon from 'vue-awesome/components/Icon';
Vue.component('icon', Icon);

image

Could you help me please?

@timnick-snow
Copy link

I had the same problem.
Is there a solution?

@hspaay
Copy link

hspaay commented Oct 18, 2021

Same problem here just following the installation instructions (using Vue 3). This looks to be broken for Vue 3.

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

3 participants