TypeError: _vm._ssrNode is not a function
See original GitHub issueEnvironment
Nuxt 2 with @nuxt/bridge
.
$ npx nuxi info
Nuxt CLI v3.0.0-rc.8
Reproduction
Unfortunately the package is secret so I can’t create a reproduction.
Describe the bug
After moving from @nuxtjs/composition-api
to @nuxt/bridge
, I get the error:
[Vue warn]: Error in render: "TypeError: _vm._ssrNode is not a function"
found in
---> <F24Loader>
<Pages/index.vue> at pages/index.vue
<Nuxt>
<.nuxt/layouts/default.vue> at .nuxt/layouts/default.vue
<Root>
[nuxt] [request error] _vm._ssrNode is not a function
(...)
<F24Loader />
is a component from the company’s npm package (written with rollup, in Vue 2) in which we keep components common to all projects. It helps to set ssr: false
in nuxt.config.ts
file, or wrap a component in <client-only>
. Is there a chance that these components will also work on the server side?
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Nuxt _vm._ssrNode is not a function when running yarn dev
When I run Nuxt from the CLI e.g. nuxt which is located at /home/<user>/.nvm/versions/node/v12.16.3/bin/nuxt , the app runs perfectly.
Read more >t._ssrNode is not a function · Issue #492 · vuejs/vuepress
Upon inspecting the console I find the error: TypeError: e._ssrNode is not a function multiple times. I have verified this on multiple ...
Read more >TypeError (...) is not a function - Get Help - Vue Forum
Hello there, I have a problem with compiling a vue file. I got 2 errors for probably one underlying problem. The error-messages are...
Read more >vm.removeProductFromCart is not a function in vue/vuex-Vue.js
Coding example for the question TypeError: _vm.removeProductFromCart is not a function in vue/vuex-Vue.js.
Read more >Server Side Rendering - Nuxt
export default function (req, res, next) { console.log(req.url) next() } ... You do not have access to the window or document objects as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am able to reproduce this by creating a new Nuxt 2 project and then following the Nuxt Bridge upgrade guide. The only package I have added is the
nuxt-property-decorator
package.https://v3.nuxtjs.org/bridge/overview/
Here is the runtime error
pages/Test.vue
@Laruxo it’s deprecated by the composition api since vue 2.7.