Giter VIP home page Giter VIP logo

generator-koa-angular's Issues

Run gulp with error

Get this error. Just type gulp command

web/testKoaAngular/gulpfile.js:57
}
^

SyntaxError: missing ) after argument list
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:404:25)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff. (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:192:16)
at module.exports (/usr/local/lib/node_modules/gulp/node_modules/flagged-respawn/index.js:17:3)

Can't install generator

> $ npm install -g generator-koa-angular
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "generator-koa-angular"
npm ERR! node v0.12.7
npm ERR! npm  v2.13.4

npm ERR! shasum check failed for /var/folders/ld/7w3vtsxs3g1_hsxmzvz11qqr0000gn/T/npm-1457-6756e79f/registry.npmjs.org/generator-koa-angular/-/generator-koa-angular-0.1.0.tgz
npm ERR! Expected: 5dcc6690a8a2e82ed520c141051c81e5ead5daec
npm ERR! Actual:   f53b590a85ac3ac5cd809934e78f26d21ba1c054
npm ERR! From:     https://registry.npmjs.org/generator-koa-angular/-/generator-koa-angular-0.1.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ryan/npm-debug.log

Unhandled 'error event

Just run
node ./server/app.js

get this error

events.js:141
throw er; // Unhandled 'error' event
^

Error: ENOENT: no such file or directory, open 'build/logger.out'
at Error (native)

Add regression tests

Currently, to test the generator, you have to run it once for every combination of options. In general, this is too tedious/time consuming, and doesn't get done before we publish a new version. Instead, we should write regression tests and run them as part of prepublish so that we prevent publishing of broken code.

Support grunt in addition to gulp

There are still a fair number of developers using grunt rather than gulp. We should support them too! Add an inquirer option to choose a build system, and add options for gulp and grunt.

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.