yeoman-flask icon indicating copy to clipboard operation
yeoman-flask copied to clipboard

Yeoman generator for Flask project

Results 10 yeoman-flask issues
Sort by recently updated
recently updated
newest added

user@notebook:~/projects/flask_project$ yo flask /home/user/.npm-packages/lib/node_modules/generator-flask/app/index.js:17 util.inherits(Generator, yeoman.generators.NamedBase) ^ TypeError: Cannot read property 'NamedBase' of undefined at Object. (/home/user/.npm-packages/lib/node_modules/generator-flask/app/index.js:17:43) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at...

(!) require('yeoman-generator').generators.Base is deprecated. Use require('yeoman-generator').Base directly (!) require('yeoman-generator').generators.Base is deprecated. Use require('yeoman-generator').Base directly ? Name of the app (app) events.js:141 throw er; // Unhandled 'error' event ^ TypeError: this.env.adapter.prompt(...).then...

The generator generates following header (links to css files) in base.html. I guess the escape characters are not escaped and displayed as they are. <link rel="stylesheet" href="{{ static('css/bootstrap.css') }}"> <link...

It's at a pretty old version at the moment so let's try to update it and fix all incompatibilities.

This fix allows avoid errors during deploy on Heroku without losing base functionality

Re. the README file, you can't actually run $ ./server or $ yeoman server. Are there perhaps some assumptions about dependencies that are not included in the README for those...

Received a mail from someone, apparently there are some bugs so I need to look into this (there might be some issues with the latest yeoman version).