EddyVerbruggen / nativescript-i18n

This is a plugin for Nativescript that implements native i18n in an easy manner.
65 stars 30 forks source link

Cannot find module nativescript-i18n #59

Closed uioporqwerty closed 7 years ago

uioporqwerty commented 7 years ago

I added the following lines to my app.ts file but I get the error that TypeScript cannot find the module nativescript-i18n:

import * as global from 'globals';
import * as i18n from 'nativescript-i18n';

// Initialize i18n
declare var global : any;

I've tried removing node_modules and then reinstalling but no luck :( using import * as i18n from 'nativescript-i18n/angular' works, however I'm not using angular.

rborn commented 7 years ago

I'm not sure, do you have a test project to play with?

rborn commented 7 years ago

Closing for lack of reply, if you still have the issue please re-open with more details. Thank you.