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
2
votes
2 answers

Error in Yoeman with generator-fountain-webapp

I'm new to Yoeman and NodeJS. I was trying to follow the tutorial at http://yeoman.io/codelab/scaffold-app.html I got an unexpected error in Step 3, after running yo following the options in Step 3, the error comes out: npm ERR! code 1 npm ERR!…
2
votes
2 answers

dotnet restore error on simple yo project

Running on Fedorea 26, I am building my first dotnet core asp application. Following this tutorial, when I try the command below of dotnet restore I get an error below. I have a suspicion that the problem is that yo builds an dotnet core 1.x…
Ivan
  • 7,448
  • 14
  • 69
  • 134
2
votes
0 answers

Yo generator for meanjs 0.5.0

I can see below for Yo Generator in meanjs documentation: The Yeoman Generator is currently not maintained. It is based on an older version of MEAN.JS (0.4.2). This content is retained here for historical purposes and for anyone still using the…
Abhishek
  • 176
  • 1
  • 12
2
votes
1 answer

JHipster - generator give 'Unexpected token' error?

Trying to generate a clean jhipster project on a linux mint env yo jhipster gives /home/poc/node_modules/generator-jhipster/generators/app/index.js:15 constructor: function (...args) { // eslint-disable-line object-shorthand …
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
2
votes
0 answers

Error when trying to load custom theme in Visual Studio Code

What I did: npm install -g yo generator-code yo code and selected New Color Theme Following instructions for name, author etc. The ready made folder I moved to $HOME/.vscode/extensions (I am on Mac) Content of my folder: Inside the themes…
vaklinzi
  • 1,913
  • 2
  • 18
  • 30
2
votes
1 answer

yeoman generator prompts and run loop

I have my generator code like the following. I'm seeing some funny behavior when i run it. Once it ask the second Add property..., its also calling code under writing. Isn't supposed to run once prompting has completed? What am I doing wrong?…
rethabile
  • 3,029
  • 6
  • 34
  • 68
2
votes
1 answer

My yo generator showing errors while generating with yo command

I created a generator to scaffold my an angular2 application. I successfully able to put it in github, npm link, npm publish. I am also able to see my generator in yo generator list in yo site. When I try to install the generator, I am getting wired…
Gagandeep Kaur
  • 172
  • 1
  • 1
  • 8
2
votes
1 answer

Error to create meanjs project with yo Generator

I am beginner to means js ,I did the setup for meanjs from here. I have use the following commands to create meanjs project with some question answering. santosh@santosh:~/Documents/Projects$ yo meanjs Native thread-sleep not…
Santosh Shinde
  • 6,045
  • 7
  • 44
  • 68
2
votes
1 answer

Yo meanjs generator - different code style

I am wondering why do I get different code generated from the rest of the mean app. What I mean exactly is this - when I run yo meanjs:angular-config I get a file that looks like this: (function() { 'use strict'; // My Module module config …
Aksiom
  • 1,565
  • 4
  • 25
  • 39
2
votes
1 answer

generator-gulp-angular - multiple apps

I am using Swiip/generator-gulp-angular and I want to have two separate SPAs(index.html) built into dist folder. I wish gulp serve and gulp dist:serve to build those two SPAs, the first will be built into dist/index.html and the second will be built…
naviram
  • 1,445
  • 1
  • 15
  • 26
2
votes
1 answer

Jhipster doesn't run latest generator (3.2.0) in existing app

I have an existing jhipster app that I am trying to keep up to date with the generator. I successfully updated the app to 3.1.0 generated code and would now like to update to 3.2.0. I have installed the 3.2.0 generator and can create a new app…
Bill Pfeiffer
  • 926
  • 8
  • 20
2
votes
1 answer

npm ERR! enoent and is related to npm not being able to find a file

How can I fix this? I also tried the master version and got a similar error. I am using OSX Yosemite: bash-3.2$ yo meanjs You're using the official MEAN.JS generator. ? What mean.js version would you like to generate? 0.4.0 0.4.0 ? In which folder…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
1 answer

Getting error while running Yeoman generator

I was following mean.js's tutorial which is at http://meanjs.org/generator.html, and while running the command yo meanjs I've got the following error: Error: Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git --version" 'git' n?o ? is…
Kyle
  • 1,568
  • 2
  • 20
  • 46
2
votes
1 answer

a knockout "web component" is not loaded inside another component (in a SPA)

I ran into a small problem. I have a SPA application I'm writing in knockoutjs. I'm using yeoman for the scaffolding. There's a header and a footer which remains the same. Each page content i.e. the viewmodel and html is located inside a directory…
Ace
  • 831
  • 2
  • 8
  • 28
2
votes
2 answers

yo meanjs error - Error: Command failed: /bin/sh -c cd test7 && npm install

i am trying to learn nodejs and want to create a boiler plate code for me to make further modification. I am using yeomen and meanjs for the same but I am facing following issue: command -> yo meanjs error -> undefined You're using the official…
ddesai
  • 499
  • 1
  • 6
  • 17
1 2
3
15 16