Help us understand the problem. What is going on with this article?

[error resolve]yarn run generate or npm run generate

解決策
npm install -save core-js@2.6.5

参考

errorlog
ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.array.iterator' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 14:0-44
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.date.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 7:0-44
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.function.name' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 13:0-43
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/index.js
Module not found: Error: Can't resolve 'core-js/modules/es6.function.name' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/index.js 5:0-43
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.function.name' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 17:0-43
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.assign' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 16:0-43
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.keys' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 12:0-41
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.keys' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 16:0-41
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 11:0-46
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/index.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/index.js 1:0-46
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 15:0-46
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/router.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/router.js 1:0-46
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/App.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/App.js 1:0-46
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.object.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 1:0-46
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.promise' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 15:0-37
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.constructor' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 8:0-48
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.match' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 6:0-42
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.replace' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 10:0-44
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.replace' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt.js 1:0-44
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.search' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 9:0-43
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.split' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 2:0-42
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.regexp.to-string' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 6:0-46
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.includes' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 9:0-45
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.includes' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 6:0-45
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.iterator' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 1:0-45
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.iterator' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 13:0-45
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.repeat' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 4:0-43
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/es6.string.starts-with' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 3:0-48
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.symbol' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 3:0-36
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/es6.symbol' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 3:0-36
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es7.array.includes' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 8:0-44
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/es7.array.includes' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 5:0-44
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es7.promise.finally' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 17:0-45
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/es7.symbol.async-iterator' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 2:0-51
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/es7.symbol.async-iterator' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 2:0-51
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/utils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/utils.js 14:0-42
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/client.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt'
 @ ./.nuxt/client.js 10:0-42
 @ multi ./.nuxt/client.js

ERROR in ./.nuxt/components/nuxt-link.client.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom.iterable' in '/Users/kazukinakamura/Desktop/workdir/v28_rails_nuxt/nuxt/app/.nuxt/components'
 @ ./.nuxt/components/nuxt-link.client.js 4:0-42
 @ ./.nuxt/client.js
 @ multi ./.nuxt/client.js

 FATAL  Nuxt Build Error                                                                                                                                                00:36:43

  at WebpackBundler.webpackCompile (node_modules/@nuxt/webpack/dist/webpack.js:5367:13)
  at process._tickCallback (internal/process/next_tick.js:68:7)


   ╭─────────────────────────────╮
   │                             │
   │   ✖ Nuxt Fatal Error        │
   │                             │
   │   Error: Nuxt Build Error   │
   │                             │
   ╰─────────────────────────────╯

error Command failed with exit code 1.

firebase deploy できた。よかったよかった

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした