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 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:...
I want to scaffold a project into same named directory and after generator finished with its job i want consumer to be redirected to that folder.  So I'm accepting project name as an argument: this.argument('name', { type: String, require...
So, I am working angular project using yeoman angular-generator. I have a.png. I want this image to be the background for login page only. after I click the submit button then it will redirect to #/about.html and using body class as fullscreen backgr...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.