I'm writing my first Yeoman generator, which prompts the user for various inputs and conditionally creates files based on their responses.  I need to be able to call a subroutine (could be a Yeoman sub-generator) based on user input, and pass arg...
I am creating a Yeoman Generator to automate creation of few database tables. I need to provide users with a prompt to add multiple columns (combination of ColumnName and DataType below).  I have a template saved in my disk where I bind the dynamic n...
I'm trying to use composeWith, to call a subgenerator within the same generator package. Yet for some reason, only the constructor of the called generator is invoked.  My generator-package generator-test looks like this:  package.json generators...
I've seen various posts that suggest Yeoman's wiring is going to be handled by the HTML Wiring package and that the methods in Yeoman itself are now deprecated.  There are no docs at all on the Wiring. Does anyone have any idea how it works o...
I am trying to use the generator of generatos, the generator-generator, and I am facing an error.  [email protected]:~/Documents$ yo generator ? Your generator name (generator-documents)   events.js:154       throw er; // Unhandled 'error' ev...
I am building a Yeoman generator and dependencies needed for this come from https://github.com/sboudrias/mem-fs-editor#copytplfrom-to-context-settings and https://github.com/SBoudrias/Inquirer.js/   The idea is to be able to ask the user a question a...
I have the following interesting scenario in a Yeoman generator but I have to fall back on regular NodeJS file system operations.  In my case, I need first read and write a file that already exists on the file system. I read the file synchronously an...
thank you in advance for any help, I know this is likely a simple issue but I have been working on it for sometime and can't figure out what I'm doing wrong.   Contextual Information I am trying to implement a simple custom directive for Angu...
I want to add an option for when debugging my generator or when working offline that will download npm and bower stuff from cache (by using --cache-min 999999 and --offline respectively).  Currently, this is my code (which both installs the dependenc...
I'm triyng to perform a async callback in my action after the bowerInstall method is completed (the problem is the same with others methods using exec commands). I need this because without it the next action will be triggered before the method i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.