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

TypeError: nuxtCtx.set is not a function #238

Closed
productdevbook opened this issue Oct 12, 2021 · 5 comments
Closed

TypeError: nuxtCtx.set is not a function #238

productdevbook opened this issue Oct 12, 2021 · 5 comments

Comments

@productdevbook
Copy link
Member

productdevbook commented Oct 12, 2021

https://github.com/productfrontenddeveloper/nuxt3_bug

Environment

Nuxt CLI v3.0.0-27234155.9f06830 17:54:57
Nuxt project info: (copied to clipboard) 17:54:57


  • Operating System: Darwin
  • Node Version: v14.18.0
  • Nuxt Version: 2.16.0-27226092.034b9901
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: dev, ssr, telemetry, components, css, head, router, loading, buildModules, image, modules, build, plugins, pwa, i18n, auth, server, axios, apollo, publicRuntimeConfig, firebase
  • Runtime Modules: @nuxtjs/auth-next@5.0.0-1624817847.21691f1, nuxt-tailvue@1.0.91, @nuxtjs/axios@5.13.6, @nuxtjs/i18n@7.0.3, @nuxtjs/sentry@5.1.3, nuxt-viewport@0.0.7, @nuxt/image@0.6.0, @nuxtjs/apollo@4.0.1-rc.5, @nuxtjs/universal-storage@0.5.9, @nuxtjs/pwa@3.3.5
  • Build Modules: nuxt-use-motion@2.0.0-beta.5, @nuxtjs/firebase@7.6.1, @nuxtjs/date-fns@1.5.0, @pinia/nuxt@0.0.3, @nuxt/bridge@3.0.0-27234169.3c132a8

Describe the bug and expected behavior

CleanShot 2021-10-12 at 17 55 48

@productdevbook productdevbook added bridge bug Something isn't working labels Oct 12, 2021
@productdevbook
Copy link
Member Author

@pi0
Copy link
Member

pi0 commented Oct 12, 2021

Would you please use yarn why @nuxt/kit? One of the modules seems is using a very old version of kit.

@productdevbook
Copy link
Member Author

productdevbook commented Oct 12, 2021

Would you please use yarn why @nuxt/kit? One of the modules seems is using a very old version of kit.

@pi0

=> Found "@nuxt/kit@0.6.4"
info Has been hoisted to "@nuxt/kit"
info Reasons this module exists
   - Hoisted from "@pinia#nuxt#@nuxt#kit"
   - Hoisted from "nuxt-windicss#@nuxt#kit"
info Disk size without dependencies: "448KB"
info Disk size with unique dependencies: "5.31MB"
info Disk size with transitive dependencies: "10.5MB"
info Number of shared dependencies: 52
=> Found "@nuxt/bridge#@nuxt/kit@3.0.0-27234169.3c132a8"
info This module exists because "@nuxt#bridge" depends on it.
info Disk size without dependencies: "404KB"
info Disk size with unique dependencies: "5.66MB"
info Disk size with transitive dependencies: "11.06MB"
info Number of shared dependencies: 58
=> Found "@nuxt/nitro#@nuxt/kit@3.0.0-27234155.9f06830"
info This module exists because "@nuxt#bridge#@nuxt#nitro" depends on it.
info Disk size without dependencies: "404KB"
info Disk size with unique dependencies: "5.66MB"
info Disk size with transitive dependencies: "11.06MB"
info Number of shared dependencies: 58

I did exactly what you said here. https://v3.nuxtjs.org/getting-started/bridge.

@pi0
Copy link
Member

pi0 commented Oct 12, 2021

Indeed you didn't do anything wrong probably. The error you are having is because pinia and windicss are using an outdated version of nuxt kit. I've reported both and added them to module upgrade list: https://github.com/nuxt/framework/discussions/751

You are using so many modules so there is a high chance some others are also incompatible and we need module authors to push fixes.

@pi0 pi0 added module and removed bug Something isn't working labels Oct 12, 2021
@productdevbook
Copy link
Member Author

productdevbook commented Oct 12, 2021

Thank you pinia update fixed, new problem #226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants