Closed mbledkowski closed 2 years ago
this is not related with the framework itself.
actually, this might or might be not a bug on @nestjs/cli
but your reproduction didn't reproduce anything and it's not minimal. As I couldn't reproduce this myself, I'll leave this closed until you share a really minimal repro repository.
this is not related with the framework itself.
it is.
but your reproduction didn't reproduce anything
for me it reproduces the error, I tried it multiple times, creating multiple new projects.
I'll leave this closed until you share a really minimal repro repository
using my repository is not required to reproduce this bug, I added it in because it was a required field
I just left an answer on your StackOverflow question. This isn't related to Nest but to how the package managers work, and each one is different. If you do populate the package.json#description
field, they all point to the same value, just make sure to restart the process completely
Is there an existing issue for this?
Current behavior
When running Nest.js application
process.env.npm_package_description
returns[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
Minimum reproduction code
https://github.com/neuwiki/neuwiki
Steps to reproduce
nest n project
(select yarn)cd project
yarn start:dev
Expected behavior
Return a value from description in
package.json
Package
Other package
No response
NestJS version
9.0.0
Packages versions
Node.js version
18.6.0
In which operating systems have you tested?
Other
Question on StackOverflow: https://stackoverflow.com/questions/73026271/nest-js-process-env-npm-package-description-does-not-return-correct-value