Comments (4)
Ok, so I found the difference between the two repos (there had to be one): package-lock.json had different content in certain lines regarding @vue/runtime-core.
Removing both files and running npm install again fixed the error in the first error, which had two vue runtime versions in package-lock.json (3.4.19 and 3.4.21).
Sorry for the false alarm. I guess this error was coming from Vue versions older tan 3.4.21.
from language-tools.
One more thing:
I uploaded the project that, while being exactly the same, doesn't give me this error: https://github.com/lmc3s3f0r/test_ref_error2
I clone this one, run npm install, and don't get that error message.
But the other repo I linked, which should be exactly the same as this one, does throw the error.
I must be overlooking something really obvious here, but can't figure out what.
from language-tools.
Closing issue.
from language-tools.
I had the same issue with Nuxt today after installing [email protected]
https://github.com/cloydlau/json-editor-vue
Seems it also has a dependency on a different version of [email protected]
that screws things up. No warnings in pnpm however.
Nuxt has a dependency on [email protected]
. When [email protected]
is installed it switches to [email protected]
and I get the same issue.
npx nuxi info
------------------------------
- Operating System: Windows_NT
- Node Version: v18.15.0
- Nuxt Version: 3.7.1
- CLI Version: 3.9.1
- Nitro Version: 2.7.0
- Package Manager: [email protected]
- Builder: -
- User Config: ssr, css, modules, ionic, vite, nitro
- Runtime Modules: @nuxtjs/[email protected], [email protected]
- Build Modules: -
------------------------------
from language-tools.
Related Issues (20)
- How to specify typescript path to volar lsp HOT 2
- Showing false _declared but not used_ errors for functions used in `v-on="{}"`
- How to use format HOT 2
- `language-plugin-pug` unused prop with `v-slot` and `v-for`
- missing auto closing tags in template HOT 1
- Is Vue.Volar still the recommended formatter since the new Vue - Official extension has been released? HOT 1
- IntelliSense is not working HOT 16
- Hybrid Mode Discussion HOT 3
- TypeScript checks partially fail when not using anonymous functions in templates HOT 1
- 使用泛型hook,ts类型推断错误 / Using generic hook, ts type inference error HOT 3
- V2.0.16 code folding function disabled. HOT 6
- vue-tsc think that unregister component is unknown in template tag
- some mistakes HOT 1
- dts emit file(.vue.d.ts) that has ts prompt error HOT 1
- Syntax highlight breaks when using directives/mixins on Vue2 with TS HOT 1
- Vue TSC & computed-refs HOT 1
- vscode ref 类型的变量 .value 自动保存不会补全 HOT 1
- Types imported in the `<script setup>` should not be used as a variable in template
- ``.foo`` -> ``foo`` when renaming classname within ``scoped``
- vue-official导致项目全部报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-tools.