-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Please provide us with the following information:
OS?
Windows 10
Versions.
angular-cli: 1.0.0-beta.11-webpack.8
node: 6.4.0
os: win32 x64
I have created a project with Angular-cli. But my packagae.json is not updated with all the modules.
When I check in to git repository I have added node_modules content in the exclusion list so the files in the node_modules are not checked-in to the git repository. So if I clone my repository and run npm install it is not installing all the modules required because package.json doesn't contains all the required modules entries.
Question: When I create a new project with angular CLI how do I make sure it updates package.json file automatically ?
Also to fix this is theer an easy way to automatically update package.json my looking at all the modules in node_modules ? I tires npm init but it's not helping.
thanks you very much for your help.