How to run ng build as a Custom Process in Qt Creator?
-
Hi,
I would like to run the Angular
ng buildcommand as a Custom process but it saysCould not start processwhere I can perfectly run it manually in a Terminal.The
ngcommand is actually a symlink in/usr/bin/ngpointing to~/MyProject/ui/node_modules/@angular/cli/bin/ngand it's a Node.js script I suppose (I'm quite new with it).Is there a way to make it works? Do I need to specify env variables?
-
Hi,
I would like to run the Angular
ng buildcommand as a Custom process but it saysCould not start processwhere I can perfectly run it manually in a Terminal.The
ngcommand is actually a symlink in/usr/bin/ngpointing to~/MyProject/ui/node_modules/@angular/cli/bin/ngand it's a Node.js script I suppose (I'm quite new with it).Is there a way to make it works? Do I need to specify env variables?
-
Hi @cyrilfr,
in newer Creator versions, you can right-click on a file in the project tree, and Open Terminal with Build Environment from there.
What happens if you run
ng buildfrom such a terminal?Regards