Open oom- opened 3 years ago
bump
Same here
same
same issue here without the SSR
Me too. Did anyone find a workaround for this?
This error will go away if you use v3.0.0-alpha.10 but I still can't get vue-meta to work in a brand new project regardless.
Same here
Thanks for your contribution to vue-meta! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like this issue to remain open:
pending
will not be automatically marked as stale.Same here.
same here
Same here
same here
same here
same heve for a vite + vue 3 environment.
same
SAme
same for vie + vue 3
same here vite+vue3
I think I've found the source of the problem, as well as the solution:
TL;DR: Verify that you've got the correct version of the vue-meta
package installed in your project.
For some reason, when you run the npm install vue-meta@next --save
command (as instructed by the docs from the homepage), the NPM installs the vue-meta
package with the version set to ^3.0.0-alpha.2
. However, when you look at the Releases page, it's obvious that the newest release is 3.0.0-alpha.8
. Given this information, when you manually set the package version in the package.json
to ^3.0.0-alpha.8
and run the npm install
command, the problem goes away; NPM updates the vue-meta
package, and the createMetaManager()
function behaves as expected 🙂
CC: @pimlie ('cause you seem to maintain the README.md
file for the next
branch)
I think I've found the source of the problem, as well as the solution:
TL;DR: Verify that you've got the correct version of the
vue-meta
package installed in your project.For some reason, when you run the
npm install vue-meta@next --save
command (as instructed by the docs from the homepage), the NPM installs thevue-meta
package with the version set to^3.0.0-alpha.2
. However, when you look at the Releases page, it's obvious that the newest release is3.0.0-alpha.8
. Given this information, when you manually set the package version in thepackage.json
to^3.0.0-alpha.8
and run thenpm install
command, the problem goes away; NPM updates thevue-meta
package, and thecreateMetaManager()
function behaves as expected 🙂CC: @pimlie ('cause you seem to maintain the
README.md
file for thenext
branch)
@staszek998 this fixes the problem. Indeed npm install vue-meta@next
is installing alpha.2
Hello,
I'm trying to make work vue-meta with Vue3 in SSR mode (https://github.com/nuxt/vue-meta/tree/next#ssr)
Everything
build
just fine, I can start my express server and all but when I'm accessing a page I'm getting this error:This line trigger the error in
vue-meta.cjs.js
:I tried to add the
metaManager
in the context (in case of):Inside the
createApp
function there is nothing special :And here is my
App.vue
file where the error is triggered :(Do not pay attention to the extra
console.log
I was checking that nothing was undefined.)Does someone have an idea about what is going wrong here? 😕
Thank you.