I’m trying to create a project with Angular 4 and NativeScript with a single codebase as mentioned in this article (http://shripalsoni.com/blog/create-native-mobile-and-web-app-with-single-codebase-using-angular2-and-nativescript/). What it basically does is maintaining a directory that contains shared components such as services and symlinking it to the web and NativeScript directories. However, when I’m trying to make a HTTP call from a service that is located in the symlinked directory, I’m getting the error
Uncaught (in promise): Error: No provider for Http!
in the browser console. I have already imported the HttpModule into the app.module.ts.