Run start:X doesn't work
I'm submitting a...
[ ] Regression
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
Current behavior
The bug appear when you create a project with nest-cli, then you copy code (with the package, everything except node_modules) in other folder, do npm install. Everything works perfectly except npm start:dev, start:prod... Only work npm run start/ npm start
Expected behavior
It should work in every site I have the code.
What is the motivation / use case for changing the behavior?
I had to change my folder structure.
Environment
Nest version: X.Y.Z
5.0.1
For Tooling issues:
- Node version: 10.0.0
- Platform: Windows
npm run start:dev or npm run start:prod would require corresponding scripts in your package.json file, I don't believe this is related directly to Nest. When you replace the package.json you're effectively removing any defaults there may have been in the scripts property of the package.json file, you may want to check that directly.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.