Configure angular2 existing project in PyCharm

Answered

Hi. I already have a existing angular 2 project that I run by "ng serve" command to test with my python backend. I want to configure this project to run with PyCharm, but even the node and angular installed and enabled, this option doesn't showed when I open the project, it's showed only if I choose to create an empty project.

Can someone help me with this issue?

Run Configuration screen

New project screen


 

0
2 comments

Hopefully you have an "npm" tool window icon in the left margin, under the Projects icon. If not, right click on your package.json file and choose "Show npm run scripts". (I'm citing that from memory, I might be wrong.)

This will open the tool window for listing your npm run scripts. Double-click on "start" and it will open the run window for angular-cli's ng run.

1
Avatar
Permanently deleted user

It worked very well. Nice!!!

Thanks a lot Paul.

0

Please sign in to leave a comment.