Skip to content

Case problem (on Linux) #1

@fyockm

Description

@fyockm

Case problem: expects _Gruntfile.js, but file is named _gruntfile.js with lowercase 'g'. Two obvious options:

  • rename file with uppercase 'G' (which seems to be the standard convention); or
  • update generator/app/index.js with this.copy('common/_gruntfile.js', 'gruntfile.js');
[?] What is the name of your application? myApp
[?] Would you like to include Twitter Bootstrap? Yes
[?] Would you like to use Twitter Bootstrap for Compass (as opposed to vani[?] Would you like to use Twitter Bootstrap for Compass (as opposed to vanilla CSS)? No
[?] What kind of DB would you want to use primarily? MongoDB
[?] What is your db connection string? mongodb://localhost
[?] What kind of template engine would you want to use? Jade

fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory '/home/drew/dev/jarvis/generator/app/templates/common/_Gruntfile.js'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at JarvisGenerator.copy (/home/drew/dev/jarvis/generator/node_modules/yeoman-generator/lib/actions/actions.js:102:13)
    at JarvisGenerator.app (/home/drew/dev/jarvis/generator/app/index.js:162:10)
    at /home/drew/dev/jarvis/generator/node_modules/yeoman-generator/lib/base.js:290:20
    at /home/drew/dev/jarvis/generator/node_modules/yeoman-generator/node_modules/async/lib/async.js:548:21
    at /home/drew/dev/jarvis/generator/node_modules/yeoman-generator/node_modules/async/lib/async.js:224:13
    at iterate (/home/drew/dev/jarvis/generator/node_modules/yeoman-generator/node_modules/async/lib/async.js:131:13)
    at /home/drew/dev/jarvis/generator/node_modules/yeoman-generator/node_modules/async/lib/async.js:142:25
    at /home/drew/dev/jarvis/generator/node_modules/yeoman-generator/node_modules/async/lib/async.js:226:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions