-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use plugin with Angular: angular.ts is not under 'rootDir' #20
Comments
Hi, |
@rborn I tried your plugin again installing it from git hub repo directly. Now there are no errors during build but at runtime:
I've included the plugin following the instructions in the main page so, in my app.module.ts:
export class AppModule {} Then, in my html layout:
What am I missing? |
Any idea for the above error: "The pipe 'L' could not be found". I am getting the same. |
@Dragomir-Ivanov I pushed a new version on npm, could you please have a look if it fixes the problem? |
Now it works. Thanks a ton @rborn ! |
I've followed the instructions to configure this plugin with angular project. When I try to build the project the following exception is shown:
error TS6059: File 'C:/MyProject/node_modules/nativescript-i18n/angular.ts' is not under 'rootDir' 'C:/MyProject/app'. 'rootDir' is expected to contain all source files.
Inside nativescript-i18n folder there is an angular.ts file (containing the pipe definition) but an angular.d.ts with typescript definitions should be present.
Fix it please :)
The text was updated successfully, but these errors were encountered: