Skip to content

Getting error "Error: ENOENT, No such file or directory..." #12

@mdikov

Description

@mdikov

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. (/Users/mdikov/node_modules/capt/src/main.coffee:208:3)
at Object. (/Users/mdikov/node_modules/capt/src/main.coffee:241:4)
at Module._compile (module.js:402:26)
at Object..coffee (/Users/mydir/node_modules/capt/node_modules/coffee-script/lib/coffee-script.js:11:21)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at require (module.js:346:19)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions