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 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...
I'm working on a project where I'd like to load an Ember.js application from another website, hosted on a different server and using a different domain name. In other terms, I'd like to include an Ember app in other website like I would d...
I've got a very simple yeoman generator, watchjs, that has speaker subgenerator. Below is hos it is used:   $ yo watchjs:speaker You called the watch.js speaker subgenerator. ? Speaker file: data/speakers/speakers.json ? Speaker name: abc { file:...
What I'm trying to do is ask a question only if a field is set to true in the prompt.  this.prompt(prompts, function (props) {   this.isShared = props.isShared;   this.componentName = props.componentName;   // To access props later use this.props...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.