yeoman-generator

Yeoman generator always get some error

心已入冬 提交于 2019-12-05 05:32:33
When I'm trying using yeoman web generator, although it's working, but looking through the whole generate progress, it always gives me some errors below, no matter what generator I used, they are always there. npm ERR! phantomjs@1.9.7-6 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs@1.9.7-6 install script. npm ERR! This is most likely a problem with the phantomjs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node install.js npm ERR! You can get their info via: npm ERR! npm owner ls phantomjs

Unable to find a suitable version for angular with bower installation error for angular-animate module

家住魔仙堡 提交于 2019-12-05 03:16:10
I am using Angular 1.2.6 . I am trying to use bower to install angular-animate and ngAnimate-animate.css . I've tried installing ( bower install --save angular-animate ), uninstalling several time and diff code on github from 1.2.16 and 1.2.17. Bower keeps wanting to install the older version of angular-animate 1.2.16 compatible with Angular 2.1.12 . All of my passing karma unit tests fail after installing angular-animate as well. I keep on getting this error. Any ideas why? bower angular-animate#* cached git://github.com/angular/bower-angular-animate.git#1.2.16 bower angular-animate#*

yeoman generator font awesome

守給你的承諾、 提交于 2019-12-04 21:13:55
I created a mobile application with the yeoman mobile-generator. Now I want to add font awesome. I tried this , but not really works in the compiling process. A small advice or experience would be great Okay, it's really a bit unclear. Sorry. The compiling process works, but console says 404 not founds for the fonts. It's not really clear to me how is a good way to do this. Creating the CSS from the scss files, implemeted the .min.css in the index.html with "<-- build: ... -->" or something else?! When I add this in my main .scss file the the fonts would not be found. $fontAwesomePath: "..

Errors installing Yo and while using angular generator

蓝咒 提交于 2019-12-04 17:19:54
I am trying to install Yeoman using NPM, but am greeted by the following error: Jaspers-MacBook-Pro:Sites Jasper$ sudo npm install --global yo > fullname-native@0.1.1 install /usr/local/lib/node_modules/yo/node_modules/fullname/node_modules/fullname-native > node-gyp rebuild gyp ERR! UNCAUGHT EXCEPTION gyp ERR! stack Error: EPERM, utime '/Users/Jasper/.node-gyp/0.10.29' gyp ERR! System Darwin 13.3.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/lib/node_modules/yo/node_modules/fullname/node_modules/fullname

Repeating Prompts with a Yeoman Generator

倖福魔咒の 提交于 2019-12-04 16:51:44
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 names from the user inputs and based upon this template, the final script is generated by the Yeoman Generator. Can you suggest how to prompt user to enter repetitive combinations of ColumnName/DataType he wants to enter? var prompts = [{ type: 'input', name: 'name', message: 'The Table Name?' }, { type: 'input', name: 'attributeName', message:

How to run a Grunt task after my Yeoman generator finishes installing?

放肆的年华 提交于 2019-12-03 18:34:13
问题 I'm building a custom Yeoman generator that installs a lot of pre-processed language compilers like CoffeeScript, LESS and Jade. In the Gruntfile that my generator creates I have a build task which compiles everything. However, until that build task is run at least once, the compiled HTML, CSS and Javascript files don't exist, which can be confusing if I try to run the grunt watch/connect server after freshly scaffolding. What is the best way to have my generator run that Grunt build step at

npm install -g generator-X error in windows

倖福魔咒の 提交于 2019-12-03 14:07:12
问题 Both producing same error. npm install -g generator-angular-fullstack. npm install -g generator-meanjs. I tried everthing (googling and stackoverflow) but this problem is scratching my head from the last 3-4 hours Any support would be helpfull I tried npm install -g generator-angular-fullstack or npm install -g generator-meanjs Initially it said python required i installed latest python but again it said not compatible version i searched and found 2.7.3 is supported so I uninstall the latest

Available yeoman generator for Angular 2 [closed]

爱⌒轻易说出口 提交于 2019-12-03 01:59:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . There is the official Angular generator, and many users provided ones for Angular 1. But I haven't found a generator for Angular 2. Does such a yeoman generator exist already? 回答1: The Official tool for scaffolding Angular2 project is Angular-Cli https://github.com/angular/angular-cli There are few generators

Can Yeoman generators update existing files?

扶醉桌前 提交于 2019-12-03 01:58:16
问题 So just to give you some context, I'm trying to create a generator that will create some files (based on user input of course) as well as update some existing files in the project (like adding a new route for example). Creating the files using this.template is no problem... the question is: is there any way to do this with Yeoman without having to read the file using Node and doing some fanciful find and replace? 回答1: Ok, so I found the answer to my question. Addy Osmani showed me where to

Yeoman angular generator install runs but generator doesn't appear in generator list

浪尽此生 提交于 2019-12-03 01:54:45
I've tried to install the yeoman angular generator with the following: npm install -g generator-angular It all looks like it's installed properly... ... npm http GET https://registry.npmjs.org/string_decoder npm http 304 https://registry.npmjs.org/string_decoder npm http GET https://registry.npmjs.org/event-emitter npm http GET https://registry.npmjs.org/next-tick npm http 304 https://registry.npmjs.org/event-emitter npm http 304 https://registry.npmjs.org/next-tick generator-angular@0.7.1 /Users/rich/.node/lib/node_modules/generator-angular ├── chalk@0.3.0 (has-color@0.1.4, ansi-styles@0.2.0)