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] '.' is not recognized as an internal or external command ... #59

Closed
dbratsun opened this issue Feb 9, 2018 · 6 comments
Closed
Assignees
Labels

Comments

@dbratsun
Copy link

dbratsun commented Feb 9, 2018

After run nest serve the error (s. subj)

@thomrick
Copy link
Contributor

Hey @dbratsun,

Can you provide your system information ==> 'nest info' ?
Can you provide your project structure ?
Can you copy / paste your nestconfig.json file ?

Thanks.

@dbratsun
Copy link
Author

Hi, @thomrick!

  1. nest info output
    [System Information]
    OS Version Windows 10
    NodeJS Version v8.1.0
    NPM Version 5.6.0

[Nest Information]
NestJS Version 4.5.10
Nest CLI Version 1.0.0

  1. nestconfig.json
    {
    "language": "ts | es (default: ts)",
    "entryFile": "src/main.ts"
    }

  2. project structure

index.js
nestconfig.json
nodemon.json
ormconfig.json
package.json
tsconfig.json
tslint.json

  • src
    • database
      • database.module.ts
      • database.providers.ts
    • app.controller.ts
    • app.module.ts
    • main.ts

Hope this help!

@thomrick
Copy link
Contributor

Thanks a lot @dbratsun,

I think I found the bug and I think all windows users should have the same problem XD.
I'll fix it as soon as possible !

By the way your nestconfig.json should look like this if you use Typescript:

{
  "language": "ts",
  "entryFile": "src/main.ts"
}

and look like this if you use Javascript:

{
  "language": "es",
  "entryFile": "src/main.ts"
}

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

@dbratsun can you first upgrade to @nestjs/cli 2.0.0-rc.3 ?

@dbratsun
Copy link
Author

ready, but the same error

@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

@thomrick thomrick closed this as completed Apr 1, 2018
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