hi.
in vercel.com's console:
05:09:43.831 Running build in Washington, D.C., USA (East) – iad1
05:09:43.832 Build machine configuration: 2 cores, 8 GB
05:09:43.957 Cloning github.com/ymbrite/dbnc (Branch: master, Commit: a9a104a)
05:09:43.958 Previous build caches not available.
05:09:44.349 Cloning completed: 392.000ms
05:09:46.328 Running "vercel build"
05:09:47.539 Running "install" command: yarn...
05:09:48.080 yarn install v1.22.19
05:09:48.219 [1/4] Resolving packages...
05:09:49.046 [2/4] Fetching packages...
05:10:04.482 [3/4] Linking dependencies...
05:10:04.490 warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.17.1" 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".
05:10:04.491 warning "@nuxtjs/eslint-module > eslint-webpack-plugin@2.4.1" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
05:10:04.492 warning "@nuxtjs/stylelint-module > stylelint-webpack-plugin@2.1.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
05:10:18.951 [4/4] Building fresh packages...
05:10:19.900 Done in 31.98s.
05:10:20.189 yarn run v1.22.19
05:10:20.217 $ nuxt generate
05:10:20.391 [fatal] Function.prototype.apply was called on undefined, which is a undefined and not a function
05:10:20.391 at $o (node_modules/esm/esm.js:1:224377)
05:10:20.391 at wu (node_modules/esm/esm.js:1:227324)
05:10:20.391 at Eu (node_modules/esm/esm.js:1:227999)
05:10:20.392 at Module. (node_modules/esm/esm.js:1:295976)
05:10:20.392 at n (node_modules/esm/esm.js:1:279589)
05:10:20.392 at Object.loadNuxtConfig (node_modules/@nuxt/config/dist/config.js:4580:15)
05:10:20.392 at loadNuxtConfig (node_modules/@nuxt/cli/dist/cli-index.js:2728:32)
05:10:20.392 at NuxtCommand.getNuxtConfig (node_modules/@nuxt/cli/dist/cli-index.js:2853:26)
05:10:20.392 at Object.run (node_modules/@nuxt/cli/dist/cli-generate.js:333:30)
05:10:20.393 at NuxtCommand.run (node_modules/@nuxt/cli/dist/cli-index.js:2803:22)
05:10:20.401
05:10:20.401 ╭─────────────────────────────────────────────────────────────────────────────╮
05:10:20.402 │ │
05:10:20.402 │ ✖ Nuxt Fatal Error │
05:10:20.402 │ │
05:10:20.402 │ TypeError: Function.prototype.apply was called on undefined, which is a │
05:10:20.403 │ undefined and not a function │
05:10:20.403 │ │
05:10:20.403 ╰─────────────────────────────────────────────────────────────────────────────╯
05:10:20.403
05:10:20.422 error Command failed with exit code 1.
05:10:20.423 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
05:10:20.438 Error: Command "yarn generate" exited with 1
how to fix it?
tks
hi.
in vercel.com's console:
05:09:43.831 Running build in Washington, D.C., USA (East) – iad1
05:09:43.832 Build machine configuration: 2 cores, 8 GB
05:09:43.957 Cloning github.com/ymbrite/dbnc (Branch: master, Commit: a9a104a)
05:09:43.958 Previous build caches not available.
05:09:44.349 Cloning completed: 392.000ms
05:09:46.328 Running "vercel build"
05:09:47.539 Running "install" command:
yarn...05:09:48.080 yarn install v1.22.19
05:09:48.219 [1/4] Resolving packages...
05:09:49.046 [2/4] Fetching packages...
05:10:04.482 [3/4] Linking dependencies...
05:10:04.490 warning "@nuxtjs/eslint-config > eslint-plugin-jest > @typescript-eslint/experimental-utils > @typescript-eslint/typescript-estree > tsutils@3.17.1" 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".
05:10:04.491 warning "@nuxtjs/eslint-module > eslint-webpack-plugin@2.4.1" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
05:10:04.492 warning "@nuxtjs/stylelint-module > stylelint-webpack-plugin@2.1.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
05:10:18.951 [4/4] Building fresh packages...
05:10:19.900 Done in 31.98s.
05:10:20.189 yarn run v1.22.19
05:10:20.217 $ nuxt generate
05:10:20.391 [fatal] Function.prototype.apply was called on undefined, which is a undefined and not a function
05:10:20.391 at $o (node_modules/esm/esm.js:1:224377)
05:10:20.391 at wu (node_modules/esm/esm.js:1:227324)
05:10:20.391 at Eu (node_modules/esm/esm.js:1:227999)
05:10:20.392 at Module. (node_modules/esm/esm.js:1:295976)
05:10:20.392 at n (node_modules/esm/esm.js:1:279589)
05:10:20.392 at Object.loadNuxtConfig (node_modules/@nuxt/config/dist/config.js:4580:15)
05:10:20.392 at loadNuxtConfig (node_modules/@nuxt/cli/dist/cli-index.js:2728:32)
05:10:20.392 at NuxtCommand.getNuxtConfig (node_modules/@nuxt/cli/dist/cli-index.js:2853:26)
05:10:20.392 at Object.run (node_modules/@nuxt/cli/dist/cli-generate.js:333:30)
05:10:20.393 at NuxtCommand.run (node_modules/@nuxt/cli/dist/cli-index.js:2803:22)
05:10:20.401
05:10:20.401 ╭─────────────────────────────────────────────────────────────────────────────╮
05:10:20.402 │ │
05:10:20.402 │ ✖ Nuxt Fatal Error │
05:10:20.402 │ │
05:10:20.402 │ TypeError: Function.prototype.apply was called on undefined, which is a │
05:10:20.403 │ undefined and not a function │
05:10:20.403 │ │
05:10:20.403 ╰─────────────────────────────────────────────────────────────────────────────╯
05:10:20.403
05:10:20.422 error Command failed with exit code 1.
05:10:20.423 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
05:10:20.438 Error: Command "yarn generate" exited with 1
how to fix it?
tks