Issue in migrating via nuxt bridge. dev build stuck
Environment
Nuxt project info: 16:53:35
- Operating System:
Darwin - Node Version:
v16.13.2 - Nuxt Version:
2.16.0-27358576.777a4b7f - Package Manager:
[email protected] - Builder:
webpack - User Config:
bridge,mode,target,head,css,plugins,components,buildModules,modules,pwa,build,sentry,serverMiddleware,publicRuntimeConfig - Runtime Modules:
@nuxtjs/[email protected],@nuxtjs/[email protected] - Build Modules:
@nuxtjs/[email protected],@nuxtjs/[email protected],@nuxtjs/[email protected],@nuxt/[email protected]
Reproduction
Logs from vercel build
Click to expand!
[16:29:11.789] Cloning github.com/gokatz/yaeax-3 (Branch: nuxt3, Commit: 075ffd0)
[16:29:12.387] Cloning completed: 597.419ms
[16:29:12.448] Warning: Due to `builds` existing in your configuration file, the Build and Development Settings defined in your Project Settings will not apply. Learn More: https://vercel.link/unused-build-settings
[16:29:12.699] Installing build runtime...
[16:29:13.484] Build runtime installed: 784.659ms
[16:29:13.510] Installing build runtime...
[16:29:14.095] Build runtime installed: 584.902ms
[16:29:14.120] Installing build runtime...
[16:29:14.714] Build runtime installed: 592.943ms
[16:29:14.741] Installing build runtime...
[16:29:15.323] Build runtime installed: 581.899ms
[16:29:15.351] Installing build runtime...
[16:29:15.954] Build runtime installed: 602.507ms
[16:29:15.980] Installing build runtime...
[16:29:16.628] Build runtime installed: 647.682ms
[16:29:16.655] Installing build runtime...
[16:29:17.262] Build runtime installed: 607.18ms
[16:29:17.289] Installing build runtime...
[16:29:17.889] Build runtime installed: 599.004ms
[16:29:18.289] Installing build runtime...
[16:29:18.891] Build runtime installed: 602.054ms
[16:29:19.301] Installing build runtime...
[16:29:19.871] Build runtime installed: 570.362ms
[16:29:20.268] Installing build runtime...
[16:29:20.939] Warning: @nuxtjs/[email protected]: This package has been renamed to @nuxtjs/vercel-builder.
[16:29:23.518] Build runtime installed: 3.251s
[16:29:25.999] Looking up build cache...
[16:29:26.096] Looking up build cache...
[16:29:26.100] Looking up build cache...
[16:29:26.165] Looking up build cache...
[16:29:26.217] Looking up build cache...
[16:29:32.435] Build cache downloaded [35.69 MB]: 5759.776ms
[16:29:32.791] Build cache downloaded [35.69 MB]: 6167.634ms
[16:29:32.870] Build cache downloaded [35.69 MB]: 6149.868ms
[16:29:32.914] Build cache downloaded [35.69 MB]: 6185.531ms
[16:29:32.923] Build cache downloaded [35.69 MB]: 6232.679ms
[16:29:33.500] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:29:33.515] Installing dependencies...
[16:29:34.040] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:29:34.047] Installing dependencies...
[16:29:34.117] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:29:34.125] Installing dependencies...
[16:29:34.163] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:29:34.170] Installing dependencies...
[16:29:34.257] yarn install v1.22.17
[16:29:34.284] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:29:34.291] Installing dependencies...
[16:29:34.411] [1/5] Validating package.json...
[16:29:34.413] [2/5] Resolving packages...
[16:29:35.088] [3/5] Fetching packages...
[16:29:35.089] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:29:58.768] [4/5] Linking dependencies...
[16:29:58.771] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:29:58.772] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.773] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.774] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:29:58.779] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:29:58.779] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:29:58.779] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.779] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:29:58.779] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:29:58.780] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.780] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:29:58.780] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:29:58.784] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:29:58.785] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:29:58.785] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:29:58.786] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:29:58.786] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:29:58.786] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:29:58.786] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:29:58.786] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.787] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:29:58.787] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:29:58.787] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:29:58.787] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.787] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:29:58.787] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:29:58.788] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:30:24.833] [5/5] Building fresh packages...
[16:30:26.993] Done in 52.74s.
[16:30:27.229] yarn install v1.22.17
[16:30:27.291] Uploading build outputs...
[16:30:27.332] [1/5] Validating package.json...
[16:30:27.334] [2/5] Resolving packages...
[16:30:27.957] [3/5] Fetching packages...
[16:30:27.966] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:30:28.083] Deploying build outputs...
[16:30:28.784] [4/5] Linking dependencies...
[16:30:28.786] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:30:28.787] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.788] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.790] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:28.796] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:30:28.796] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:30:28.796] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.796] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:30:28.796] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:30:28.797] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.797] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:30:28.797] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:28.802] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:30:28.802] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:30:28.802] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:28.803] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:28.803] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:28.803] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:30:28.803] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:30:28.803] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.803] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:28.803] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:28.803] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:28.803] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.803] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:28.804] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:30:28.804] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:30:32.475] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:30:32.481] Installing dependencies...
[16:30:48.947] [5/5] Building fresh packages...
[16:30:50.482] Done in 23.26s.
[16:30:50.706] yarn install v1.22.17
[16:30:50.831] [1/5] Validating package.json...
[16:30:50.835] [2/5] Resolving packages...
[16:30:51.716] [3/5] Fetching packages...
[16:30:51.733] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:30:51.948] Uploading build outputs...
[16:30:52.602] [4/5] Linking dependencies...
[16:30:52.605] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:30:52.607] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.607] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.609] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:52.617] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:30:52.617] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:30:52.617] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.617] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:30:52.618] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:30:52.618] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.618] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:30:52.618] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:52.623] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:30:52.623] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:30:52.624] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:52.624] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:52.624] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:30:52.624] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:30:52.624] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:30:52.624] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.625] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:52.625] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:52.625] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:30:52.625] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.625] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:30:52.626] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:30:52.626] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:30:52.895] Deploying build outputs...
[16:30:55.657] Done with "api/bank-transaction.js"
[16:30:57.303] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:30:57.308] Installing dependencies...
[16:31:10.230] [5/5] Building fresh packages...
[16:31:11.732] Done in 21.03s.
[16:31:11.950] yarn install v1.22.17
[16:31:12.062] [1/5] Validating package.json...
[16:31:12.065] [2/5] Resolving packages...
[16:31:12.895] [3/5] Fetching packages...
[16:31:12.908] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:31:13.818] Uploading build outputs...
[16:31:13.977] [4/5] Linking dependencies...
[16:31:13.980] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:31:13.981] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:13.981] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:13.984] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:13.991] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:31:13.991] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:31:13.991] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:13.991] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:31:13.992] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:31:13.992] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:13.992] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:31:13.992] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:14.000] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:31:14.000] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:31:14.000] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:14.000] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:14.000] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:14.001] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:31:14.001] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:31:14.001] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:14.001] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:14.001] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:14.001] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:14.001] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:14.001] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:14.002] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:31:14.002] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:31:14.818] Deploying build outputs...
[16:31:17.669] Done with "api/cron/feed.js"
[16:31:19.041] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:31:19.046] Installing dependencies...
[16:31:34.940] [5/5] Building fresh packages...
[16:31:36.457] Done in 24.51s.
[16:31:36.663] yarn install v1.22.17
[16:31:36.779] [1/5] Validating package.json...
[16:31:36.784] [2/5] Resolving packages...
[16:31:37.614] success Already up-to-date.
[16:31:37.620] Done in 0.96s.
[16:31:37.816] Uploading build outputs...
[16:31:37.870] yarn install v1.22.17
[16:31:37.999] [1/5] Validating package.json...
[16:31:38.003] [2/5] Resolving packages...
[16:31:38.727] Deploying build outputs...
[16:31:38.843] success Already up-to-date.
[16:31:38.847] Done in 0.98s.
[16:31:39.089] yarn install v1.22.17
[16:31:39.266] [1/5] Validating package.json...
[16:31:39.290] [2/5] Resolving packages...
[16:31:40.293] success Already up-to-date.
[16:31:40.299] Done in 1.22s.
[16:31:40.548] yarn install v1.22.17
[16:31:40.759] [1/5] Validating package.json...
[16:31:40.763] [2/5] Resolving packages...
[16:31:40.942] Uploading build outputs...
[16:31:41.503] Done with "api/common.js"
[16:31:41.587] Uploading build outputs...
[16:31:41.767] Deploying build outputs...
[16:31:41.829] [3/5] Fetching packages...
[16:31:41.845] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:31:42.357] Uploading build outputs...
[16:31:42.623] Deploying build outputs...
[16:31:42.941] [4/5] Linking dependencies...
[16:31:42.945] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:31:42.947] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.947] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.951] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:42.958] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:31:42.958] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:31:42.958] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.959] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:31:42.959] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:31:42.960] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.960] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:31:42.960] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:42.967] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:31:42.967] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:31:42.967] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:42.968] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:42.968] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:31:42.968] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:31:42.968] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:31:42.968] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.968] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:42.968] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:42.968] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:31:42.969] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.969] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:31:42.969] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:31:42.970] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:31:43.267] Deploying build outputs...
[16:31:43.277] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:31:43.281] Installing dependencies...
[16:31:44.412] Done with "api/expense.js"
[16:31:45.373] Done with "api/index.js"
[16:31:45.782] Done with "api/setup.js"
[16:31:46.075] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:31:46.079] Installing dependencies...
[16:32:02.197] [5/5] Building fresh packages...
[16:32:04.274] Done in 23.73s.
[16:32:04.484] yarn install v1.22.17
[16:32:04.602] [1/5] Validating package.json...
[16:32:04.605] [2/5] Resolving packages...
[16:32:05.530] success Already up-to-date.
[16:32:05.535] Done in 1.06s.
[16:32:05.737] yarn install v1.22.17
[16:32:05.904] [1/5] Validating package.json...
[16:32:05.919] [2/5] Resolving packages...
[16:32:06.480] Uploading build outputs...
[16:32:06.845] success Already up-to-date.
[16:32:06.850] Done in 1.12s.
[16:32:07.032] Uploading build outputs...
[16:32:07.657] Deploying build outputs...
[16:32:07.890] Uploading build outputs...
[16:32:07.956] Deploying build outputs...
[16:32:08.931] Deploying build outputs...
[16:32:10.470] Done with "api/cron/notify.js"
[16:32:10.669] Done with "api/zauth.js"
[16:32:11.776] Done with "api/utils.js"
[16:32:13.071] Looking up build cache...
[16:32:17.814] Build cache downloaded [109.44 MB]: 4192.144ms
[16:32:18.369] ----------------- Prepare build -----------------
[16:32:18.370] Downloading files...
[16:32:18.497] Working directory: /vercel/path6
[16:32:18.500] Warning: Due to "engines": { "node": ">=16.0.0" } in your `package.json` file, the Node.js Version defined in your Project Settings ("14.x") will not apply. Learn More: http://vercel.link/node-version
[16:32:18.502] Using yarn
[16:32:18.503] ℹ Prepare build took: 133.626085 ms
[16:32:18.504] ----------------- Install devDependencies -----------------
[16:32:18.504] Running yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --modules-folder=/vercel/path6/node_modules --cache-folder=/vercel/path6/.now_cache/yarn
[16:32:21.893] npm WARN exec The following package was not found and will be installed: yarn
[16:32:22.617] yarn install v1.22.18
[16:32:22.705] [1/6] Validating package.json...
[16:32:22.708] [2/6] Resolving packages...
[16:32:23.339] [3/6] Fetching packages...
[16:32:23.349] warning Pattern ["@nuxt/schema@npm:@nuxt/[email protected]"] is trying to unpack in the same destination "/vercel/path6/.now_cache/yarn/v6/npm-@nuxt-schema-3.0.0-rc.3-27550969.a4a3cff-76b8858dbe68abd18bcc06d8cd71440696c6cdb1-integrity/node_modules/@nuxt/schema" as pattern ["@nuxt/schema@npm:@nuxt/schema-edge@latest"]. This could result in non-deterministic behavior, skipping.
[16:32:38.058] [4/6] Linking dependencies...
[16:32:38.060] warning "nuxt-edge > @nuxt/[email protected]" has unmet peer dependency "consola@*".
[16:32:38.061] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.061] warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.063] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:32:38.067] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:32:38.068] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:32:38.068] warning "@nuxt/bridge > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.068] warning "@nuxt/bridge > @vue/[email protected]" has unmet peer dependency "vue@>= 2.5 < 3".
[16:32:38.068] warning "@nuxt/bridge > [email protected]" has unmet peer dependency "@vue/runtime-dom@^3.2.31".
[16:32:38.069] warning "@nuxt/bridge > @babel/plugin-transform-typescript > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.069] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.27.0 || ^5.0.0".
[16:32:38.069] warning "@nuxt/bridge > @nuxt/postcss8 > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:32:38.073] warning "@nuxtjs/eslint-config > [email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[16:32:38.074] warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[16:32:38.074] warning "@nuxtjs/eslint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:32:38.074] warning " > @nuxtjs/[email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:32:38.074] warning "@nuxtjs/stylelint-module > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
[16:32:38.075] warning " > @vue/[email protected]" has unmet peer dependency "[email protected]".
[16:32:38.075] warning " > @vue/[email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:32:38.075] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.075] warning " > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:32:38.075] warning "babel-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:32:38.075] warning "babel-jest > babel-preset-jest > [email protected]" has unmet peer dependency "@babel/core@^7.0.0".
[16:32:38.075] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.075] warning "babel-jest > babel-preset-jest > babel-preset-current-node-syntax > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
[16:32:38.076] warning " > [email protected]" has unmet peer dependency "vue@^2.x".
[16:32:38.076] warning " > [email protected]" has unmet peer dependency "vue-template-compiler@^2.x".
[16:32:55.092] [5/6] Building fresh packages...
[16:32:56.636] [6/6] Cleaning modules...
[16:33:00.521] Done in 37.91s.
[16:33:00.558] ℹ Install devDependencies took: 42053.520059 ms
[16:33:00.558] ----------------- Nuxt build -----------------
[16:33:00.596] Running nuxt build --standalone --no-lock --config-file "nuxt.config.js"
[16:33:01.421]
[16:33:01.422] WARN mode option is deprecated. You can safely remove it from nuxt.config
[16:33:01.422]
[16:33:10.729] ℹ Nuxt build took: 10170.597294 ms
[16:33:10.730] ----------------- Install dependencies -----------------
[16:33:10.731] Running yarn install --prefer-offline --pure-lockfile --non-interactive --production=true --modules-folder=/vercel/path6/node_modules --cache-folder=/vercel/path6/.now_cache/yarn
[16:33:11.820] yarn install v1.22.18
[16:33:11.907] [1/6] Validating package.json...
[16:33:11.909] [2/6] Resolving packages...
[16:33:12.806] [3/6] Fetching packages...
[16:33:12.885] [4/6] Linking dependencies...
[16:33:12.887] warning " > [email protected]" has unmet peer dependency "vue@^2.6.11".
[16:33:12.887] warning " > [email protected]" has unmet peer dependency "vue@^2.0.0".
[16:33:14.472] [5/6] Building fresh packages...
[16:33:14.755] [6/6] Cleaning modules...
[16:33:15.398] Done in 3.58s.
[16:33:15.417] ℹ Install dependencies took: 4687.924154 ms
[16:33:15.417] ----------------- Collect artifacts -----------------
[16:33:20.087] ℹ Collect artifacts took: 4666.088168 ms
[16:33:20.150] Uploading build outputs...
[16:33:21.572] Deploying build outputs...
[16:33:26.536] Build completed. Populating build cache...
[16:33:45.200] Uploading build cache [52.99 MB]...
[16:33:46.942] Build cache uploaded: 1.742s
[16:33:46.973] Done with "api/constant.js"
[16:33:47.488] Build completed. Populating build cache...
[16:33:47.492] ----------------- Collect cache -----------------
[16:33:52.959] ℹ 69441 files collected from .now_cache
[16:33:55.685] ℹ 40851 files collected from node_modules_dev
[16:33:56.096] ℹ 6432 files collected from node_modules_prod
[16:33:56.100] ℹ Collect cache took: 8608.560769 ms
[16:34:38.563] Uploading build cache [315.58 MB]...
[16:34:45.594] Build cache uploaded: 7.032s
[16:34:45.650] Done with "nuxt.config.js"
Describe the bug
When migrating using the nuxt bridge, the dev build is stuck and the prod build is not completing correctly.
Dev Serve: Stuck here forever:
Prod Build: The prod build is exiting before proper build process:
Additional context
No response
Logs
No response
can you share minimal reproduction? or you can share package.json with nuxt.config.
sure, here is the package.json and config as that will be easy for me to share
package.json
{
"name": "my-app",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"dev:x": "nuxi dev",
"build:x": "nuxi build",
"start:x": "nuxi preview",
"export": "nuxt export",
"serve": "nuxt serve",
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
"lint": "yarn lint:js && yarn lint:style",
"test": "jest"
},
"lint-staged": {
"*.{js,vue}": "eslint",
"*.{css,vue}": "stylelint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@nuxtjs/pwa": "^3.0.0-beta.20",
"@nuxtjs/sentry": "^5.1.6",
"@sendgrid/mail": "^7.6.0",
"@supabase/supabase-js": "^1.28.5",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"dayjs": "^1.10.7",
"express": "^4.17.1",
"form-data": "^3.0.0",
"greeting-time": "^1.0.0",
"node-fetch": "^2.6.0",
"nuxt-edge": "latest",
"pg": "^8.7.3",
"querystring": "^0.2.0",
"vue-js-modal": "^2.0.1",
"vue-notification": "^1.3.20"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.17.12",
"@nuxt/bridge": "npm:@nuxt/bridge-edge",
"@nuxtjs/eslint-config": "^3.0.0",
"@nuxtjs/eslint-module": "^2.0.0",
"@nuxtjs/stylelint-module": "^4.0.0",
"@nuxtjs/tailwindcss": "^2.0.0",
"@vue/test-utils": "^1.0.3",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-nuxt": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"vue-jest": "^3.0.4"
},
"engines": {
"node": ">=16.0.0"
}
}
Nuxt config
import { defineNuxtConfig } from '@nuxt/bridge';
const isDev = process.env.NODE_ENV === 'development';
export default defineNuxtConfig({
bridge: true,
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: 'server',
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
*/
head: {
title: process.env.npm_package_name || '',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: process.env.npm_package_description || ''
}
],
link: [
{ rel: 'icon', type: 'image/png', href: '/icon.png' }
]
},
/*
** Global CSS
*/
css: [],
/*
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: [
'~/plugins/formatCurrency.js',
'~/plugins/fetch.js',
'~/plugins/tp.js',
'~/plugins/day.js',
'~/plugins/appConstants.js',
'~plugins/vue-js-modal.js'
],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/eslint-module
'@nuxtjs/eslint-module',
// Doc: https://github.com/nuxt-community/stylelint-module
'@nuxtjs/stylelint-module',
// Doc: https://github.com/nuxt-community/nuxt-tailwindcss
'@nuxtjs/tailwindcss'
],
/*
** Nuxt.js modules
*/
modules: ['@nuxtjs/pwa', '@nuxtjs/sentry'],
pwa: {
manifest: {
name: 'MyApp',
short_name: 'myApp'
},
workbox: {
runtimeCaching: [
{
urlPattern: '/api/name.*',
handler: 'StaleWhileRevalidate'
},
{
urlPattern: '/api/age.*',
handler: 'StaleWhileRevalidate'
},
{
urlPattern: '/api/address.*',
handler: 'StaleWhileRevalidate'
}
]
}
},
/*
** Build configuration
** See https://nuxtjs.org/api/configuration-build/
*/
build: {
transpile: ['vue-notifications'],
babel: {
plugins: ['@babel/plugin-proposal-optional-chaining']
}
},
sentry: {
// Additional Module Options go here
// https://sentry.nuxtjs.org/sentry/options
dsn: 'https://[email protected]/xxx',
disabled: isDev,
config: {
// Add native Sentry config here
// https://docs.sentry.io/platforms/javascript/guides/vue/configuration/options/
maxBreadcrumbs: 50,
debug: isDev
}
},
serverMiddleware: [{ path: '/api', handler: '~/api/index.js' }],
publicRuntimeConfig: {
CLIENT_ID: process.env.CLIENT_ID
}
});
same issue here
@gokatz I have faced a similar problem as you did and tried commenting out parts of the config until I found the one that was causing the trouble - babel config option.
I believe the new ES features are included by default, and including them additionally somehow messes up the build. Try removing it and see if it helps.
Would you confirm whether this is still happening, and provide a reproduction if so? 🙏
I was also able to find a workaround by commenting out the babel configuration.
This was the config:
babel: {
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-proposal-optional-chaining', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }]
]
},
Would you be able to provide a reproduction? 🙏
More info
Why do I need to provide a reproduction?
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
👉 https://stackblitz.com/github/nuxt/starter/tree/v2-bridge 👉 https://codesandbox.io/p/github/nuxt/starter/v2-bridge-codesandbox
A public GitHub repository is also perfect. 👌
Please ensure that the reproduction is as minimal as possible. See more details in our guide.
You might also find these other articles interesting and/or helpful:
It seems to be resolved, so I close it. Reopen is welcome.