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

Generator creates l{ayout.html instead of layout.html #5

Closed
mattcreaser opened this issue Oct 22, 2013 · 0 comments · Fixed by #6
Closed

Generator creates l{ayout.html instead of layout.html #5

mattcreaser opened this issue Oct 22, 2013 · 0 comments · Fixed by #6

Comments

@mattcreaser
Copy link
Contributor

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)
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

Successfully merging a pull request may close this issue.

1 participant