You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers:
Used package manager:
Logs
src/components/HelloWorld.vue:31:12-error TS2614: Module'"vue"'hasnoexportedmember'ref'.Didyoumeantouse'import ref from "vue"'instead?
31import{ref,defineComponent}from'vue';~~~src/components/HelloWorld.vue:31:17-errorTS2614: Module'"vue"'hasnoexportedmember'defineComponent'.Didyoumeantouse'import defineComponent from "vue"'instead?
31import{ref,defineComponent}from'vue';~~~~~~~~~~~~~~~src/main.ts:1:10-errorTS2614: Module'"vue"'hasnoexportedmember'createApp'.Didyoumeantouse'import createApp from "vue"'instead?
1import{createApp}from'vue'~~~~~~~~~Found7errors.errorCommandfailedwithexitcode2.infoVisithttps://yarnpkg.com/en/docs/cli/run for documentation about this command. 23:12:14D:\WWW\kubernetes-example-deploymentmaster≡~3-4 ?5❯
Before submitting the issue, please make sure you do the following
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Provide a description in this issue that describes the bug.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
This issue has been locked since it has been closed for more than 14 days.
If you have found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Vite version. If you have any other comments you should join the chat at Vite Land or create a new discussion.
new project, and first run
Describe the bug
Reproduction
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager:
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: