Closed HuakunShen closed 1 year ago
This was a bug in nuxt
due to missing @types/node
peer dependency, fixed in 3.4.0
This was a bug in
nuxt
due to missing@types/node
peer dependency, fixed in3.4.0
Thanks!
Windows 11
{ "name": "nuxt-app", "private": true, "type": "module", "scripts": { "build": "nuxt build", "dev": "nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare" }, "devDependencies": { "@nuxt/devtools": "latest", "@nuxtjs/apollo": "5.0.0-alpha.8", "@nuxtjs/tailwindcss": "^6.9.4", "@tailwindcss/typography": "^0.5.10", "nuxt": "^3.8.1", "nuxt-icon": "^0.6.1", "vue": "^3.3.7", "vue-router": "^4.2.5" }, "dependencies": { "@headlessui/vue": "^1.7.16", "@heroicons/vue": "^2.0.18", "@nuxt/content": "^2.9.0" } }
Still have the same issue on 3.8 nuxt.
3.8.1 still has
Environment
Nuxi 3.3.3
RootDir: /Users/hacker/Desktop/nuxt-app Nuxt project info: (copied to clipboard)
Darwin
v18.15.0
3.3.3
2.3.2
npm@9.6.3
vite
modules
,apollo
@nuxtjs/apollo@5.0.0-alpha.6
Build Modules:
-
Describe the bug
I followed https://apollo.nuxtjs.org/getting-started/quick-start and installed
"@nuxtjs/apollo": "^5.0.0-alpha.6"
, but always getting error saying thatObject literal may only specify known properties, and 'apollo' does not exist in type 'NuxtConfig'.ts
Expected behaviour
nuxt.config.ts
should acceptapollo
config.Reproduction
Fill in
Additional context
Reproduced on ubuntu 20.04
Logs
No response