Skip to content

Generating components doesn't work #126

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

Closed
sis0k0 opened this issue Oct 8, 2018 · 3 comments
Closed

Generating components doesn't work #126

sis0k0 opened this issue Oct 8, 2018 · 3 comments

Comments

@sis0k0
Copy link
Contributor

sis0k0 commented Oct 8, 2018

The following command:

ng g c somecmp --module=app

hangs.

@larssn
Copy link

larssn commented Oct 25, 2018

Any known workarounds?

@vakrilov
Copy link
Contributor

Couldn't reproduce the issue. Tested with following environment:

With project created with Nativescript CLI:

tns create ng-proj --ng
cd ng-proj
ng g c somecmp --module=app

And with project created with @nativescript/schematics:

ng new -c=@nativescript/schematics project-name --shared
cd project-name
ng g c somecmp --module=app

In both cases the component was properly created and registered in the app.module ( both app.module.ts and app.module.tns.ts in the shared project)

@vakrilov
Copy link
Contributor

Closing due to inactivity and missing repro. Will reopen if needed.

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

No branches or pull requests

3 participants