Git Product home page Git Product logo

generator-express-simple's People

Contributors

bitdeli-chef avatar boskiv avatar jarrodldavis avatar nanaeasiedu avatar yyolk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-express-simple's Issues

Clean generation doesn't run

Latest version, 0.5.3.

Generator options:

[?] Do you want an mvc express app: Yes
[?] Select the css preprocessor you would like to use: stylus
[?] Select view engine you would like to use: handlebars
[?] Do you want your Gruntfile in javascript or coffeescript: javascript

Running grunt:

Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.

Running "jshint:server" (jshint) task
>> 5 files lint free.

Running "jshint:client" (jshint) task
>> 1 file lint free.

Running "stylus:files" (stylus) task
Warning: Object #<Object> has no method 'indexOf' Use --force to continue.

Aborted due to warnings.

Edit: LESS and Sass appear to have issues as well:

Running "jshint:gruntfile" (jshint) task
>> 1 file lint free.

Running "jshint:server" (jshint) task
>> 5 files lint free.

Running "jshint:client" (jshint) task
>> 1 file lint free.

Running "less:files" (less) task
Warning: Object #<Object> has no method 'indexOf' Use --force to continue.

Aborted due to warnings.
Warning: Task "sass" not found. Use --force to continue.

Aborted due to warnings.

Package.json issue

Your generator is putting an extra comma in after the Jade dependency, causing the rest of the generator job to fail. Thanks for your hard work on this.

{
"name": "project1",
"version": "0.0.0",
"dependencies": {
"express": "~4.0.0-rc2",
"morgan": "~1.0.0",
"body-parser": "~1.0.0",
"compression": "1.0.1",
"static-favicon": "~1.0.1",
"method-override": "~1.0.0",
"errorhandler": "~1.0.0",
"jade": "~1.1.5",,
"mongoose": "~3.8.7"
},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-concurrent": "~0.4.3",
"grunt-nodemon": "~0.2.0",
"grunt-node-inspector": "~0.1.2",
"grunt-contrib-cssmin": "~0.8.0",
"matchdep": "~0.3.0",
"grunt-contrib-sass": "~0.7.2"
}
}

SCSS Changes not saving.

Maybe it's just me, but after running

nodemon -L --watch . --debug app.js
inside the /website directory

followed by gulp watch

Any changes I make inside /sass/ do not appear or compile. I get "finished buildCss" but I need to restart the server in order to see the changes. Only happens for SCSS.

Thanks

Generator Gruntfile.coffee

When generator finish, grun command ends with error:
I have choosed stylus, jade and coffescript.

Ivans-MacBook-Pro:ECofTest skivan$ grunt
Loading "Gruntfile.coffee" tasks...ERROR

Error: In /Users/skivan/WebstormProjects/ECofTest/Gruntfile.coffee, Parse error on line 1: Unexpected ','

concat options format

I'm seeing an error when running with the default grunt config. The concat:css options are:

concat: {
  css: {
    // add your css files over here to concatenate all css files
    // let's save our site users some bandwith
    files: {
      src: ['public/vendor/bootstrap/dist/css/bootstrap.min.css', 'public/css/styles.min.css'],
      dest: 'public/css/app.styles.min.css'
    }
  }
},

When I run grunt, I get:

Warning: Unable to write "src" file (Error code: EISDIR). Use --force to continue.

I believe the issue is with the files options it should be like this:

concat: {
  css: {
    // add your css files over here to concatenate all css files
    // let's save our site users some bandwith
    files: {
      'public/css/app.styles.min.css': ['public/vendor/bootstrap/dist/css/bootstrap.min.css', 'public/css/styles.min.css'],
    }
  }
},

.gitignore missing

After doing a clean npm install of 0.6.1 and running yeoman, yo does not complete because it cannot find app/templates/common/.gitignore. Looking in node_modules, .gitignore is definitely missing from the common/ directory.

Missing coffescript dependency in package.json

When "coffeescript" is selected as build tool language, gulpfile.coffee is generated but "coffee-script" is not added to package.json dependency.

And also gulpfile.coffee requires "gulp-nodemon", but its not used anywhere in gulpfile, and also its not listed in package.json dependency.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.