[ERROR] '.' is not recognized as an internal or external command ...
After run nest serve the error (s. subj)
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.
Hi, @ThomRick!
- 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
-
nestconfig.json { "language": "ts | es (default: ts)", "entryFile": "src/main.ts" }
-
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
- database
Hope this help!
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"
}
@dbratsun can you first upgrade to @nestjs/cli 2.0.0-rc.3 ?
ready, but the same error
The CLI tool was rebuild from scratch and integrate schematics to generate assets. Please upgrade to v4.0.0-rc1