-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Description
Environment
------------------------------
- Operating System: `Windows_NT`
- Node Version: `v16.10.0`
- Nuxt Version: `2.16.0-27226092.034b9901`
- Package Manager: `npm`
- Bundler: `Webpack`
- User Config: `env`, `head`, `loading`, `css`, `plugins`, `modules`, `buildModules`, `router`, `apollo`, `a
xios`, `build`, `pwa`
- Runtime Modules: `@nuxtjs/apollo@4.0.1-rc.5`, `@nuxtjs/dotenv@1.4.1`, `@nuxtjs/axios@5.13.6`
- Build Modules: `@nuxtjs/router@1.6.1`, `@nuxtjs/pwa@3.3.5`, `@nuxt/bridge`
------------------------------
Describe the bug and expected behavior
Hi, I'm trying to use Nuxt 3 with Nuxt bridge on my existing Nuxt app. App have this dependencies
"dependencies": {
"@nuxtjs/apollo": "4.0.1-rc.5",
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/dotenv": "^1.4.1",
"@nuxtjs/proxy": "^1.3.3",
"@nuxtjs/pwa": "^3.0.0",
"@nuxtjs/router": "^1.6.1",
"cross-env": "^5.2.1",
"dayjs": "^1.10.6",
"fs": "0.0.1-security",
"graphql-tag": "^2.12.5",
"node-sass": "^4.14.1",
"nuxt-edge": "latest",
"sprintf-js": "^1.1.2",
"vue-apollo": "3.0.0",
"vue-awesome-swiper": "^3.1.3",
"vue-click-outside": "^1.0.7",
"vue-scrollto": "^2.17.1"
},
"devDependencies": {
"@nuxt/bridge-edge": "^3.0.0-27234503.d5127e9",
"@nuxtjs/eslint-config": "^0.0.1",
"@nuxtjs/style-resources": "^0.1.2",
"babel-eslint": "^10.1.0",
"bulma_scss": "^0.7.2-rc.0",
"cache-loader": "^2.0.1",
"cypher-bulma-extensions": "^0.1.16",
"cypher-bulma-javascript": "^0.1.0",
"cypher-bulma-layout": "^0.1.13",
"cypher-bulma-utilities": "^0.1.15",
"cypher-bulma-wordpress": "^0.1.10",
"eslint": "^7.32.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"fast-sass-loader": "^1.4.7",
"nodemon": "^1.19.4",
"nuxt-sass-resources-loader": "^2.0.5",
"path": "^0.12.7",
"sass-loader": "^10.2.0",
"style-loader": "^0.23.1",
"thread-loader": "^2.1.3"
}
When i try to npm run dev then this error occurs
╭─────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ Error: Cannot find module '@nuxt/bridge' │
│ Require stack: │
│ - C:\projects\<censured>\node_modules\@nuxt\core-edge\dist\core.js │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────╯
I did everything by manual here https://v3.nuxtjs.org/getting-started/bridge, even i have in nuxt.config.js bridge-edge included
import { defineNuxtConfig } from '@nuxt/bridge-edge'
export default defineNuxtConfig({
.
.
.
Could you please tell me, why it want to include placeholder package instead of edge package, even when i include only edge @nuxt/bridge-edge package? thx
Metadata
Metadata
Assignees
Labels
No labels