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

When my browser accesses the API interface #249

Open
rootdoc opened this issue Aug 16, 2018 · 0 comments
Open

When my browser accesses the API interface #249

rootdoc opened this issue Aug 16, 2018 · 0 comments

Comments

@rootdoc
Copy link

rootdoc commented Aug 16, 2018

2018-08-16T09:46:23+0800 accounts.js:63 (library.network.app.use) / { Error: Failed to lookup view "index.html" in views directory "public/dist"
at Function.render (/home/lai/asch/node_modules/express/lib/application.js:579:17)
at ServerResponse.render (/home/lai/asch/node_modules/express/lib/response.js:960:7)
at router.get (/home/lai/asch/node_modules/asch-core/src/core/server.js:30:9)
at Layer.handle [as handle_request] (/home/lai/asch/node_modules/express/lib/router/layer.js:95:5)
at next (/home/lai/asch/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/home/lai/asch/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/lai/asch/node_modules/express/lib/router/layer.js:95:5)
at /home/lai/asch/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/home/lai/asch/node_modules/express/lib/router/index.js:330:12)
at next (/home/lai/asch/node_modules/express/lib/router/index.js:271:10)
at router.use (/home/lai/asch/node_modules/asch-core/src/core/server.js:25:25)
at Layer.handle [as handle_request] (/home/lai/asch/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/lai/asch/node_modules/express/lib/router/index.js:312:13)
at /home/lai/asch/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/home/lai/asch/node_modules/express/lib/router/index.js:330:12)
at next (/home/lai/asch/node_modules/express/lib/router/index.js:271:10)
view:
View {
defaultEngine: 'ejs',
ext: '.html',
name: 'index.html',
root: 'public/dist',
engine: [Function],
path: undefined } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants