Static GitHub Issues

[2724] nuxt generate error, generated dist folder is not generated index.html

prev: Vuex: dispatch - unknown action type
next: Accessing Vuex getters with parameters

npm run generate err:

{ Error: ENOENT: no such file or directory, lstat 'e:\_ddp\_tmp\test\ddp_blog\dist\index.html'
  errno: -4058,
  code: 'ENOENT',
  syscall: 'lstat',
  path: 'e:\\_ddp\\_tmp\\test\\ddp_blog\\dist\\index.html' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ddp_blog@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ddp_blog@1.0.0 generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-01-31T07_36_14_739Z-debug.log
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2366">#c2366</a>)</em></sub></div>