You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you'll se following error when running nest g app foo in a dir that does not has the 'test' folder:
Error: Path "/test" does not exist.
Failed to execute command: node @nestjs/schematics:sub-app --name=foo --no-dry-run --no-skip-import --language="ts" --source-root="src" --spec --no-flat --spec-file-suffix="spec"
Minimum reproduction code
see below
Steps to reproduce
git clone git@github.com:nestjs/typescript-starter.git
cd typescript-starter
npm install @nestjs/cli@10.1.10
rm -rf test
npx nest g app foo
Expected behavior
I think that the CLI shouldn't assume that every project will have a 'test' folder in their nestjs projects, so that command should went fine as when we have such folder
Package version
10.0.1
NestJS version
No response
Node.js version
No response
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
micalevisk
changed the title
Erro when using 'application' generator in a directory that doesn't has the 'test' folder
Error when using 'application' generator in a directory that doesn't has the 'test' folder
Jul 22, 2023
Is there an existing issue for this?
Current behavior
you'll se following error when running
nest g app foo
in a dir that does not has the 'test' folder:Minimum reproduction code
see below
Steps to reproduce
Expected behavior
I think that the CLI shouldn't assume that every project will have a 'test' folder in their nestjs projects, so that command should went fine as when we have such folder
Package version
10.0.1
NestJS version
No response
Node.js version
No response
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: