enjalot / blockbuilder

Create, fork and edit d3.js code snippets for use with bl.ocks.org right in the browser, no terminal required.
Other
323 stars 59 forks source link

no such file main.handlebars with node v12.3.0 #234

Closed micahstubbs closed 5 years ago

micahstubbs commented 5 years ago

no such file main.handlebars with node v12.3.0

Error: ENOENT: no such file or directory, open '/Users/m/workspace/blockbuilder/views/layouts/main.handlebars'

It looks like this is a known issue with handlebars. I was able to adapt the fix mentioned in this 2017 github comment to fix this, and enable us to run on the latest nodejs, node v12.3.0

https://github.com/ericf/express-handlebars/issues/195#issuecomment-302112955 Screen Shot 2019-05-21 at 10 38 35 PM