Closed lokzzor closed 2 years ago
The problem is caused because setting the environment variable NODE_ENV
to production
causes npm install to ignore dev dependencies.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
π Bug report
Command
The globally required package has been installed as well as node 16.13.2 angular 13.2.0 npm 8.4.0
Description
Created a clean angular project in docker. 'npm i' was successful. when trying to 'npm start/ ng serve' gave an error. ## π¬ Minimal Reproductionπ₯Angular package.json
π Your Environment
Anything else relevant?
I went into the docker container and tried to create a new project, and I noticed that with the command 'npm i' in the folder node_modules/@angular-devkit/ no files at all