mozhju / nativescript-ichi-printer

POS printer for NativeScript
MIT License
2 stars 1 forks source link

Failing in typescript compilation with TNS 6 #3

Open ArunYogi opened 5 years ago

ArunYogi commented 5 years ago

When tried to use this plugin with latest nativescript cli and angluar,

tns run android

failed with below message. Seems the newer TS compiler is more strict than usual which is causing issue with this plugin. Could you see the changes needed in this plugin to work with latest Nativescript.

node_modules/nativescript-ichi-printer/index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. System.err: The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv). System.err: at NativeScriptAngularCompilerPlugin.getCompiledFile (/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:838:23) System.err: at NativeScriptAngularCompilerPlugin.getCompiledFile (/node_modules/nativescript-dev-webpack/plugins/NativeScriptAngularCompilerPlugin.js:28:26) System.err: at plugin.done.then (/node_modules/@ngtools/webpack/src/loader.js:41:31) System.err: at process._tickCallback (internal/process/next_tick.js:68:7) System.err: at com.tns.Runtime.runModule(Native Method) System.err: at com.tns.Runtime.runModule(Runtime.java:663) System.err: at com.tns.Runtime.run(Runtime.java:655) System.err: at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21) System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013) System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707) System.err: ... 8 more

prabhushan commented 4 years ago

Any updates on this.. this is blocking :(