The secret (could not find it documented anywhere) is to add CompilerOptions paths to tsconfig.node.json and tsconfig.app.json as well as tsconfig.json. Then the app compiles and runs succesfully