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

vue-tsc --noEmit && vite build fails #491

Open
vlahde opened this issue Nov 30, 2023 · 0 comments
Open

vue-tsc --noEmit && vite build fails #491

vlahde opened this issue Nov 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@vlahde
Copy link

vlahde commented Nov 30, 2023

When trying to build with Vue type script check (vue-tsc --noEmit && vite build) build fails with following errors:

node_modules/vue-advanced-chat/types/index.d.ts:1:15 - error TS2305: Module '"vue"' has no exported member 'PluginFunction'.

1 import Vue, { PluginFunction } from 'vue'
                ~~~~~~~~~~~~~~

node_modules/vue-advanced-chat/types/index.d.ts:143:22 - error TS2304: Cannot find name 'MessageActions'.

143  'message-actions'?: MessageActions
                         ~~~~~~~~~~~~~~

node_modules/vue-advanced-chat/types/index.d.ts:145:21 - error TS2304: Cannot find name 'TemplatesText'.

145  'templates-text'?: TemplatesText
                        ~~~~~~~~~~~~~

node_modules/vue-advanced-chat/types/index.d.ts:181:38 - error TS2507: Type 'typeof import("E:/webprojects/domains/chat.fi.front/vue/node_modules/vue/dist/vue")' is not a constructor function type.

package version:
"vue": "^3.2.6"
"vite": "^4.2.0"
"vue-tsc": "^1.8.24"

Perhaps needs a similar fix like this: primefaces/primevue@bfdf904

@vlahde vlahde added the bug Something isn't working label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant