ng serve can't resolve imports from src path, but work when using relative path
I managed to solve it by changing
"baseUrl": "./",
to "baseUrl": "./src"
, in tsconfig.json
then
import { KAPIService } from 'app/shared/k/k-api.service';
not sure if this is the best solution, but works for me.