Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to run ng build as a Custom Process in Qt Creator?
I would like to run the Angular
ng buildcommand as a Custom process but it says
Could not start processwhere I can perfectly run it manually in a Terminal.
ngcommand is actually a symlink in
~/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?
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?
@aha_1980 It runs and complete normally.
OK I found that I've to set
ngas command and
buildas arguments of course...
glad you solved it. So please mark this topic as SOLVED too. Thanks!