Questions tagged [yo]

a command-line interface tool for running Yeoman generators

yo is a command-line interface tool (written by Simon Boudrias and licensed under BSD) for use in running Yeoman generators. The GitHub page can be found at https://github.com/yeoman/yo.

Yeoman is an open source client-side development stack, consisting of tools and frameworks intended to help developers quickly build high quality web applications. Yeoman runs as a command-line interface written in Node.js which combines several functions into one place, such as generating a starter template, managing dependencies, running unit tests, providing a local development server, and optimizing production code for deployment.

230 questions
30
votes
8 answers

Warning: Running "compass:server" (compass) task

D:\Projects\mallspk>grunt serve Running "serve" task Running "clean:server" (clean) task >> 0 paths cleaned. Running "wiredep:app" (wiredep) task Running "wiredep:test" (wiredep) task Running "wiredep:sass" (wiredep) task Running…
user4069483
15
votes
3 answers

How can NPM scripts use my current working directory (when in nested subfolder)

It's good that I can run NPM scripts not only from the project root but also from the subfolders. However, with constraint that it can't tell my current working path ($PWD). Let's say there's a command like this: "scripts": { ... "pwd": "echo…
Allen
  • 4,431
  • 2
  • 27
  • 39
14
votes
4 answers

Is there a way to use previous answers in inquirer when presenting a prompt (inquirer v6)?

So what I want to do is use a previous answer when asking a question further down the line. Basically so that I can show a summary of what will be created and ask for a verification. this.prompt([ { type: 'input', name: 'name', …
Ari Shaposhnik
  • 141
  • 1
  • 1
  • 3
13
votes
2 answers

Angular 1.3 + ui-router + generator-ng-poly embedding nested(?) views not working

I am new to Angular, ui-router and generator-ng-poly and am hoping someone can help with what is likely a simple syntax issue. I am using generator-ng-poly for a new project and working from the "Deep Level Example" with an Angular 1.3 based app…
12
votes
4 answers

how to deploy yeoman angular-fullstack project?

I want to deploy a simple angular projet made with angular fullstack. https://github.com/DaftMonk/generator-angular-fullstack I tried : yo angular-fullstack test grunt build Then, in dist I got 2 folders: server and public. how to deploy them on a…
toffd
  • 217
  • 1
  • 3
  • 8
11
votes
2 answers

Error while installing yeoman

I am trying to install yo on my ubuntu v16.4 LTS but i get this error: npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm npm ERR! Linux 4.4.0-22-generic npm ERR! argv…
Kob_24
  • 592
  • 1
  • 10
  • 26
10
votes
3 answers

yo cannot find jhipster after yarn global add generator-jhipster

I'm trying to generate a jHipster project using yarn - https://jhipster.github.io/installation/ I installed Node from its website and yarn with brew. yarn version 0.19.1 node version v7.5.0 OSX Sierra 10.12.3 When I run yarn global add…
TechCrunch
  • 2,924
  • 5
  • 45
  • 79
10
votes
5 answers

Permission denied while installing Yo

I'm trying to set up yo to use the angular generator for a project. I am following the steps detailled here: http://yeoman.io/learning/index.html I already have Node.js and NPM installed. But when I use the command: sudo npm install -g yo bower…
Vincent Montalieu
  • 333
  • 2
  • 4
  • 10
8
votes
4 answers

cssmin is giving me "Path must be a string. Received undefined"

My project is a pretty basic yo/angular project. I have the following cssmin config. useminPrepare: { html: '<%= yeoman.app %>/index.html', options: { dest: '<%= yeoman.dist %>', flow: { html: { …
Pompey Magnus
  • 2,191
  • 5
  • 27
  • 40
8
votes
2 answers

yodoctor: command not found when installing yo from terminal

Below is the error I keep getting. It seems to indicate a "post-install" issue with yodoctor. Sadly yodoctor is the advice given by the yeoman team to help with this issue. I have other node_modules installed (bower, grunt, typescript). sh:…
jesse lawson
  • 93
  • 2
  • 7
6
votes
2 answers

yo is not running

I'm getting an error when trying to run yeoman. Just a simple version request. I just installed Node.js using the mac installer v6.2.0 and ran the following: npm install -g yo After getting no errors on install I ran yo…
islandguy
  • 218
  • 2
  • 8
6
votes
3 answers

Gulp Error: spawn EACCES

gulpfile.js 'use strict'; var gulp = require('gulp'); gulp.paths = { src: 'src', dist: 'dist', tmp: '.tmp', e2e: 'e2e' }; require('require-dir')('./gulp'); gulp.task('build', ['clean'], function () { …
solomonculaste
  • 303
  • 2
  • 18
5
votes
2 answers

Grunt serve not working, compass error

My node started to behave odd. So I removed it and installed it again. Now, I cant runt grunt serve anymore Pers-MacBook-Air:clientMD perstrom$ grunt serve Running "serve" task Running "clean:server" (clean) task >> 0 paths cleaned. Running…
Joe
  • 4,274
  • 32
  • 95
  • 175
4
votes
2 answers

How do I get the arrow keys recognized by Yo on Windows 10?

I'm trying to run a Yo generator on my Windows 10 machine but it doesn't react when I press the arrow keys in order to select an option. I found this issue on GitHub and tried to change loopback:relation but it didn't work for me. Maybe there's a…
Wosi
  • 41,986
  • 17
  • 75
  • 82
4
votes
2 answers

Choosing different environments on yo angular fullstack projects from grunt?

In the scaffold generated project using yo angular fullstack I normally launch the app with grunt using grunt (I am not an expert on it). Example grunt grunt serve and so on. As far as I know I have three different environments (Development,…
ackuser
  • 5,681
  • 5
  • 40
  • 48
1
2 3
15 16