head.addEntry is not a function
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v16.14.0
- Nuxt Version:
3.0.0-rc.12
- Nitro Version:
0.6.1
- Package Manager:
npm@8.3.1
- Builder:
vite
- User Config:
buildModules
- Runtime Modules:
-
- Build Modules:
@nuxtjs/tailwindcss@6.1.3
Reproduction
https://github.com/nuxt/framework/
Describe the bug
When i run dev, giving this error
head.addEntry is not a function
at ./node_modules/nuxt/dist/head/runtime/lib/vueuse-head.plugin.mjs:11:8
at fn (./node_modules/nuxt/dist/app/nuxt.mjs:148:27)
at Object.callAsync (./node_modules/unctx/dist/index.mjs:49:19)
at callWithNuxt (./node_modules/nuxt/dist/app/nuxt.mjs:150:23)
at applyPlugin (./node_modules/nuxt/dist/app/nuxt.mjs:94:29)
at Module.applyPlugins (./node_modules/nuxt/dist/app/nuxt.mjs:104:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createNuxtAppServer (./node_modules/nuxt/dist/app/entry.mjs:30:7)
at async default (./node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:27:18)
at async Object.renderToString (./node_modules/vue-bundle-renderer/dist/runtime.mjs:172:19)
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created 10 months ago
- Reactions:10
- Comments:18
Top Results From Across the Web
Nuxt.js script does not get added to head - Stack Overflow
I attempted to add the Google Identity services script to nuxt.config.ts , which should expose window.google . // https://v3.nuxtjs.org/api/ ...
Read more >JavaScript: Uncaught TypeError: n is not a function
Uncaught TypeError : 'n' is not a function: This is a standard JavaScript error when trying to call a function before it is...
Read more >Encore: Setting up your Project (Symfony Docs)
The key part is addEntry() : this tells Encore to load the assets/app.js file ... If you are not using Symfony you won't...
Read more >pandas.DataFrame.append — pandas 1.5.2 documentation
Append rows of other to the end of caller, returning a new object. ... Columns in other that are not in the caller...
Read more >jQuery Plugins / Bootstrap > Webpack Encore - SymfonyCasts
This imports an entirely different jQuery object... and this one does not have the tooltip function! To say this in a different way,...
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 Free
Top 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
@piscis I fixed this issue by yarn or npm add resolutions in package.json, thanks
I can confirm this is caused by a upstream release of @vueuse/head and I was able to fix it with pnpm by overwrite vueuse/head and set it to v1.0.0-rc.14 like so in package.json: