Hi All,
I am developing a project using nodejs, angular 2 and mongoDB.
I will be using expressJs framework to create the basic structure and then finally will install the dependencies for angular 2 and mongoDB.
After running the command 'npm install express --save', when I am trying to run 'npm install', its showing error because package.json file is missing.
I would like to know if there is any process to create package.json, tsconfig.json, typings.json and systemjs.config.js, by running some commands?
I checked out in google and found that 'npm init' generates the package.json file for me. But, its not working as expected.
I cannot be able to proceed further
What I have tried:
Step I did till now:
1. created a folder named as 'Angular2_Proj'.
2. ran the command 'npm install express --save'
3. tried running 'npm install' but it requires 'package.json', so tried with step 4
4. tried running the command 'npm init' for generating package.json, but its not working, showing the following:
Press ^C at any time to quit.
name: (Angular2_Proj) <cursor blinking>