Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ENOENT: no such file or directory, stat 'pages/index/index.json' #19

Open
vivaxy opened this issue Mar 9, 2018 · 0 comments
Open

Comments

@vivaxy
Copy link

vivaxy commented Mar 9, 2018

页面内没有 json 配置文件的时候,生成文件报错:

Unhandled Rejection at: Promise {
  <rejected> { Error: ENOENT: no such file or directory, stat 'pages/index/index.json'
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'pages/index/index.json' } } reason: { Error: ENOENT: no such file or directory, stat 'pages/index/index.json'
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'pages/index/index.json' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant