jvandemo / jvandemo/generator-angular2-library

Having issue getting generator-angular2-library installed

Open
#179 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
740
Forks
116
PR merge metrics
No merged PRs in 30d

Description

I have reinstalled yo still can't get generator-angular2-library to installed on my mac.

I'm running npm 5.3.0

I did
npm uninstall -g yo
npm cache verify
npm install -g yo

```
/Users/me/.nvm/versions/node/v7.7.2/bin/yo -> /Users/me/.nvm/versions/node/v7.7.2/lib/node_modules/yo/lib/cli.js
/Users/me/.nvm/versions/node/v7.7.2/bin/yo-complete -> /Users/me/.nvm/versions/node/v7.7.2/lib/node_modules/yo/lib/completion/index.js

> spawn-sync@1.0.15 postinstall /Users/me/.nvm/versions/node/v7.7.2/lib/node_modules/yo/node_modules/spawn-sync
> node postinstall

> yo@2.0.0 postinstall /Users/me/.nvm/versions/node/v7.7.2/lib/node_modules/yo
> yodoctor

Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version

Everything looks all right!
+ yo@2.0.0
added 372 packages in 17.031s

```
npm install -g generator-angular2-library
```
+ generator-angular2-library@11.1.0
updated 1 package in 8.104s

```

However, when I try
yo angular2-library
```
Error angular2-library

You don't seem to have a generator with the name angular2-library installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 9 registered generators run yo with the `--help` option.

```

yo --help, shows no installation of generator-angular2-library

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported npm installation with Node.js v7.7.2 and npm 5.3.0, then run `yo --help` and `yo angular2-library` to compare installed and registered generators. Done means `generator-angular2-library@11.1.0` is recognized and the command starts successfully; the issue does not name any source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.