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] Generate Module #61

Closed
sofyan-ahmad opened this issue Feb 20, 2018 · 2 comments
Closed

[ERROR] Generate Module #61

sofyan-ahmad opened this issue Feb 20, 2018 · 2 comments
Assignees
Labels

Comments

@sofyan-ahmad
Copy link

Environment:

  • OSX: Sierra
  • NodeJS version: 9.3.0
  • NPM version: 5.6.0
  • nest-cli version: 2.0.0-rc.3

Command:
nest generate module admin

Error message:

create [WORKING_DIR]/src/modules/admin/admin.module.ts

Unexpected token . in JSON at position 36

Note: modules/admin/admin.modulet.ts was created, but other files were not

@thomrick
Copy link
Contributor

Hey @sofyanhadia

Thanks for the feedbacks

Can you copy / paste your app.module.ts ?

@thomrick thomrick self-assigned this Feb 23, 2018
@thomrick thomrick added the bug label Feb 23, 2018
@thomrick
Copy link
Contributor

thomrick commented Apr 1, 2018

The CLI tool was rebuild from scratch and integrate schematics to generate assets.
Please upgrade to v4.0.0-rc1

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

No branches or pull requests

2 participants