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: Failed to lookup view "404" in views directory "./app/views" #26

Open
kfogel opened this issue Aug 5, 2015 · 2 comments
Open

Comments

@kfogel
Copy link
Member

kfogel commented Aug 5, 2015

Some time shortly after startup, we consistently see this error happen a couple of times (this is still true at least as of commit a5a91df on master, right after the 14-export-clients branch was merged in):

deploy@localhost:~/openhmis-intake$ node server.js 
--
OpenHMIS Intake application started
Environment:                    undefined
Port:                           3000
--
Error: Failed to lookup view "404" in views directory "./app/views"
    at EventEmitter.render (/home/deploy/openhmis-intake/node_modules/express/lib/application.js:579:17)
    at ServerResponse.render (/home/deploy/openhmis-intake/node_modules/express/lib/response.js:961:7)
    at /home/deploy/openhmis-intake/config/express.js:68:21
    at Layer.handle [as handle_request] (/home/deploy/openhmis-intake/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:312:13)
    at /home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:280:7
    at Function.process_params (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:330:12)
    at next (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:271:10)
    at Layer.handle [as handle_request] (/home/deploy/openhmis-intake/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:312:13)
Error: Failed to lookup view "404" in views directory "./app/views"
    at EventEmitter.render (/home/deploy/openhmis-intake/node_modules/express/lib/application.js:579:17)
    at ServerResponse.render (/home/deploy/openhmis-intake/node_modules/express/lib/response.js:961:7)
    at /home/deploy/openhmis-intake/config/express.js:68:21
    at Layer.handle [as handle_request] (/home/deploy/openhmis-intake/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:312:13)
    at /home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:280:7
    at Function.process_params (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:330:12)
    at next (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:271:10)
    at Layer.handle [as handle_request] (/home/deploy/openhmis-intake/node_modules/express/lib/router/layer.js:91:12)
    at trim_prefix (/home/deploy/openhmis-intake/node_modules/express/lib/router/index.js:312:13)
@cecilia-donnelly
Copy link

Yes! It only happens the first time the app is started in a given browser tab. If you look in the "Network" tab of the console, I believe that the 404 is being caused by the browser not finding a favicon image.

@bharti614
Copy link

Yes! It only happens the first time the app is started in a given browser tab. If you look in the "Network" tab of the console, I believe that the 404 is being caused by the browser not finding a favicon image.

can you tell me when again it will start working

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

3 participants