Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng g ngx-specs '**/*' #10

Open
a90machado opened this issue Apr 12, 2019 · 6 comments
Open

ng g ngx-specs '**/*' #10

a90machado opened this issue Apr 12, 2019 · 6 comments

Comments

@a90machado
Copy link

The line of code its not working.
Path: src/app
Error: Schematic "specs" not found in collection "ngx-spec"

can you help me with this

@mikedatsko
Copy link

Just tried, the same:

$ ng g ngx-spec:specs '**/*.ts'
Schematic "specs" not found in collection "ngx-spec".
Error: Schematic "specs" not found in collection "ngx-spec".
    at SchematicEngine.createSchematic (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular-devkit/schematics/src/engine/engine.js:224:23)
    at CollectionImpl.createSchematic (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular-devkit/schematics/src/engine/engine.js:69:29)
    at GenerateCommand.getSchematic (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular/cli/models/schematic-command.js:81:27)
    at GenerateCommand.getOptions (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular/cli/models/schematic-command.js:261:32)
    at GenerateCommand.<anonymous> (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular/cli/commands/generate-impl.js:37:53)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/mike/Projects/rr/rr-mono/frontend/node_modules/@angular/cli/commands/generate-impl.js:11:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
    at startup (internal/bootstrap/node.js:283:19)

@smnbbrv
Copy link
Owner

smnbbrv commented May 11, 2019

Hi, which version do you use and what’s your angular version ? This functionality appeared after v2+ only

@mikedatsko
Copy link

I used ^1.0.0 for Angular 6. I see that it doesn't have specs in collection.
I installed ^2.0.0 and I received Nothing to be done..
Currently, I'm debugging ^2.0.0 spec command, I see some misleading in paths.

@mikedatsko
Copy link

I'll update as soon as I'll see something.

@chalcrow
Copy link

chalcrow commented Sep 6, 2019

Any update? I'm also having this issue

@Ruud-cb
Copy link

Ruud-cb commented Jul 12, 2020

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants