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

Can't run command using --routing #278

Closed
abnersouza opened this issue Feb 18, 2018 · 5 comments
Closed

Can't run command using --routing #278

abnersouza opened this issue Feb 18, 2018 · 5 comments

Comments

@abnersouza
Copy link

After run any command using --routing

ng generate lib mymodule --routing

Got a empty error:
screen shot 2018-02-18 at 18 38 45

"@nrwl/schematics": "^0.7.3",
"@ngx-translate/core": "9.1.1",
"@ngx-translate/http-loader": "2.0.1",
"@ngrx/store": "4.1.1",
"@ngrx/router-store": "4.1.1",
"@ngrx/effects": "4.1.1",
"@ngrx/store-devtools": "4.1.1",

@vsavkin
Copy link
Member

vsavkin commented Feb 19, 2018

Could you provide a repro (a github repo)?

@frontr-uk
Copy link

Missing commands.
https://github.com/beeman/angular-nx-ssr

C:\Users\ilmad\Desktop\project-poc\angular-nx-ssr-master>ng g lib -h
ng generate lib [name] <options...>
--dry-run Run through without making any changes.
aliases: -d -dryRun
--force Forces overwriting of files.
aliases: -f -force
--app Specifies app name to use.
aliases: -a -app
--collection Schematics collection to use.
aliases: -c -collection
--lint-fix Use lint to fix files after generation.
aliases: -lf -lintFix
--ngmodule (boolean)

C:\Users\ilmad\Desktop\project-poc\angular-nx-ssr-master>ng g lib -h

@vsavkin
Copy link
Member

vsavkin commented May 29, 2018

You are using an old version of @nrwl/schematics, the routing option was added later. Could you try Nx 1.0.3 or Nx 6, and, resubmit the issue if the problem is still present?

@vsavkin vsavkin closed this as completed May 29, 2018
@frontr-uk
Copy link

Vsavkin, thank you, but we decided to not use as not enough support.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants