Generator creates l{ayout.html instead of layout.html
mattcreaser opened this issue · 0 comments
mattcreaser commented
The typo in the filename causes:
Express server listening on port 3000
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory '/Users/mcreaser/hacks/keysApiTest/app/views/layout.html'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at parseFile (/Users/mcreaser/hacks/keysApiTest/node_modules/swig/lib/swig.js:345:14)
at getParents (/Users/mcreaser/hacks/keysApiTest/node_modules/swig/lib/swig.js:412:21)
at precompile (/Users/mcreaser/hacks/keysApiTest/node_modules/swig/lib/swig.js:456:17)
at compile (/Users/mcreaser/hacks/keysApiTest/node_modules/swig/lib/swig.js:560:16)
at /Users/mcreaser/hacks/keysApiTest/node_modules/swig/lib/swig.js:639:22
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)