Skip to content

package.json #2559

@smtech-learning

Description

@smtech-learning

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions