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

Error: Could not find (undefined) #6

Closed
Adam-Michalski opened this issue Jul 26, 2018 · 2 comments
Closed

Error: Could not find (undefined) #6

Adam-Michalski opened this issue Jul 26, 2018 · 2 comments

Comments

@Adam-Michalski
Copy link

I try to run
ng g ngx-spec:spec app.component.ts

and

ng g ngx-spec:spec app.component

And I always get error:

Error: Could not find (undefined)
Could not find (undefined)

"@angular/cli": "1.7.3",

How to fix this?

@izinin
Copy link

izinin commented Aug 3, 2018

does not work at all. The error is the same as @Adam-Michalski has reported.

environment:

Angular CLI: 1.7.4
Node: 8.9.1
OS: darwin x64
Angular: 5.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.5.3
webpack: 3.11.0

usage:

igors-MBP:app igorzinin$ ng g ngx-spec:spec query-builder/drawing/drawing.component
Error: Could not find (undefined)
Could not find (undefined)
igors-MBP:app igorzinin$ ng g ngx-spec:spec query-builder/drawing/drawing.component.ts
Error: Could not find (undefined)
Could not find (undefined)
igors-MBP:app igorzinin$ ng g ngx-spec:spec ./query-builder/query-builder.module.ts
Error: Could not find (undefined)
Could not find (undefined)
igors-MBP:app igorzinin$ pwd
/Users/igorzinin/Documents/bpg/projects/query-builder-mod/src/app
igors-MBP:app igorzinin$

@smnbbrv
Copy link
Owner

smnbbrv commented Aug 3, 2018

this is not and will never work with cli < 6. Updated readme

@smnbbrv smnbbrv closed this as completed Aug 3, 2018
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

3 participants