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 "index" in views directory "/test/dist/app/views" #67
Comments
You need to run node in production mode for the distribution build. E.g.
|
I get the same error running in production |
edited just realized that I forgot Grunt stuff. Sorry. |
Hey Im getting this issue too...can run dist locally but when I deploy to heroku i get this error |
same here.... any fix yet? |
For me I had to go into lib/config/express.js and change:
To:
|
Error: Failed to lookup view "index" in views directory "./views" |
Was anything solved on this? I keep having the same error as above and wasn't able to fix it. |
use this code to solve the issue
|
I fixed this error as I got it couple of times: |
Make sure that your folder is in the proper path. Accidentally I placed the folder inside my controllers folder and that's why I was getting that error. |
I had the same issue and it turned out that I named views/index as index."js" but "jsx" |
OS X:
init
Chrome http://localhost:3000
'app' - unnecessary
The text was updated successfully, but these errors were encountered: