question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rc.6 to rc.7 ERROR Cannot start nuxt: nuxtCtx.tryUse is not a function

See original GitHub issue

Environment

Nuxt project info: 09:35:07


  • Operating System: Darwin
  • Node Version: v16.15.0
  • Nuxt Version: 3.0.0-rc.7
  • Package Manager: npm@8.13.1
  • Builder: vite
  • User Config: modules, progress, sitemap, vue, runtimeConfig, css, buildModules, build
  • Runtime Modules: ~/modules/sitemap, @nuxtjs/tailwindcss@5.3.1, nuxt-progress@0.1.6
  • Build Modules: @pinia/nuxt@0.4.0

Reproduction

Describe the bug

rc.6 to rc.7 ERROR Cannot start nuxt: nuxtCtx.tryUse is not a function

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
andysaycommented, Aug 11, 2022

need yarn or npm upgrade.

1reaction
pi0commented, Aug 13, 2022

@viandwi24 Yes it is. Nuxi will cleanup lock and node modules when you use --froce.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuxt3 で nuxtCtx.tryUse is not a function を直す - emahiro/b.log
Overview Nuxt3 の RC8 を使おうとした際に Cannot start nuxt: nuxtCtx.tryUse is not a function というエラーに当たったのでその解消方法について ...
Read more >
Cannot start nuxt: nuxtCtx.tryUse is not a function - nuxt-icons
When I added nuxt-icons to the modules array in the nuxt.config.js I get the following error while and after server restart. ERROR Cannot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found