capt
capt copied to clipboard
Getting error "Error: ENOENT, No such file or directory..."
I am following your tutorial but when I try to create the view I get this error. I did create the folder and re-ran the view generation, but then I get another error and the server will not start at all.
What could be the reason?
- Using coffeescript version 1.0.1
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ENOENT, No such file or directory '/Users/mydir/notes/app/templates/notes'
at Object.mkdirSync (fs.js:360:18)
at /Users/mdikov/node_modules/capt/src/main.coffee:231:10
at /Users/mdikov/node_modules/capt/src/main.coffee:33:7
at Object.
Getting similar errors.
Capt:
- Using coffeescript version 1.0.1
node.js:116
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ENOENT, No such file or directory '/Users/george.norris/WebPractice/notesss/app/templates/generate'
at Object.mkdirSync (fs.js:329:18)
at /usr/local/lib/node/.npm/capt/0.5.5/package/src/main.coffee:234:10
at /usr/local/lib/node/.npm/capt/0.5.5/package/src/main.coffee:33:27
at Object.
@gn3 : You should have a look at @bleeppurple fork or mine. We both solved this problem but with a different approch (different folder organisation). Choose the one that fit your needs...
I dont know how well it works...I threw it together in 2 mins I've taken a different approach and scrapped capt in favour of thor + guard to create templates/scaffolds and watch files I'd probably switch back to capt if i could customise it a bit more using something like thor p.s. everything is built using requirejs