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
[ ] Regression
[ x ] Bug report
[ x ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
When creating a project inside an existing directory, I passed the . value for the directory name nest new .
Which causes package.json to be generated with "name": ".", which creates a bug. Npm / yarn does not allow this name to be used and therefore the installation fails
Expected behavior
Use the name of the current working directory as the package.name to avoid this installation error.
Minimal reproduction of the problem with instructions
mkdir test && cd test nest new .
What is the motivation / use case for changing the behavior?
I have an existing directory with some Docker / Traefik configurations and shell scripts. My goal was to just use the CLI to add a nest project in
Environment
[System Information]
OS Version : Windows 10
NodeJS Version : v8.11.3
NPM Version : 5.6.0
[Nest Information]
common version : 5.4.0
core version : 5.4.0
The text was updated successfully, but these errors were encountered:
I started working on this issue issues#222 but in @nestjs/schematics the application schema needs to change. I think there should be path option which can be used here application.factory.ts#L52
Small bug I found
I'm submitting a...
Current behavior
When creating a project inside an existing directory, I passed the
.
value for the directory namenest new .
Which causes
package.json
to be generated with"name": ".",
which creates a bug. Npm / yarn does not allow this name to be used and therefore the installation failsExpected behavior
Use the name of the current working directory as the package.name to avoid this installation error.
Minimal reproduction of the problem with instructions
mkdir test && cd test
nest new .
What is the motivation / use case for changing the behavior?
I have an existing directory with some Docker / Traefik configurations and shell scripts. My goal was to just use the CLI to add a nest project in
Environment
The text was updated successfully, but these errors were encountered: