@jasoncartermartin wrote:
Hello, I am having an error running the simple command of
ionic serve
natively in Windows. However,ionic cordova build android
works fine in the same shell. This is the error that runningionic serve
in cmd.exe gives:ionic serve > ng run app:serve --host=0.0.0.0 --port=8100 [ng] 'sh' is not recognized as an internal or external command, [ng] operable program or batch file.
However, running
ng run app:serve --host=0.0.0.0 --port=8100
directly works just fine…The
ionic serve
command also works properly in Linux through WSL, however the problem with that approach is that node-sass has to be recompiled with Linux bindings to do this.Any reason why this is happening, or workarounds/fixes?
Thanks!
Posts: 2
Participants: 1