angularjs - Import existing file or directory into intellij idea project -


i'm using intellij idea 15.0.3. tried use develop mean stack application.

i first file -> new -> project -> empty project create empty project. in intellij idea's terminal type npm init -y, package.json generated. however, when tried edit generated package.json, window pops up, saying: these files not belong project, , asks me if want edit anyway.

also, after edited package.json, run npm install in terminal, new directory node_modules generated, it's not shown in intellij idea.

how can add package.json , node_modules project? have manually created file or folder through intellij idea project ui , give using terminal?

you need create new project existing source so..

file->new project - select html5/javascript application select 1 of options @ bottom "existing sources" @ end of it, specify folder it's , in , should go.


Comments