I am trying to run an existing project to run on my local machine. I have angular and node installed and have now installed ionic. However, running ionic build gives the error:
ng.cmd run app:build The system cannot find the path specified. [ERROR] An error occurred while running subprocess ng.
ng.cmd run app:build exited with exit code 1.
I have literally researched and tried EVERYTHING.
So now my first question is:
if I run: ng run app:build
will this do the identical thing to ionic build
?
Secondly, when I do try the above ng command (it works perfectly) and I try to run my app (it is inside of an asp.net project), it loads with the following error in the console (have changed filename for demo purposes):
Loading module from “http://localhost:52870/my/url/xxx.js” was blocked because of a disallowed MIME type (“text/html”).
Why does this happen? is it linked to the ionic build issue?
Any help would be most appreciated. I have worked hours upon hours on this.
Thanks