vakrilov / nativescript-physics-js

MIT License
9 stars 4 forks source link

Alert its author and ask them to package the library using the Angular Package Format #7

Open mcalc001 opened 4 years ago

mcalc001 commented 4 years ago

Hi, im trying to run the plugin on my nativescript angular project and im getting this error:

ERROR in ../node_modules/nativescript-physics-js/physics/ns-renderer.ts Module build failed (from ../node_modules/@ngtools/webpack/src/index.js): Error: /Users/corey/Desktop/MyDev/accelerometer/node_modules/nativescript-physics-js/physics/ns-renderer.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. 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). at NativeScriptAngularCompilerPlugin.getCompiledFile (/Users/corey/Desktop/MyDev/accelerometer/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:912:23) at NativeScriptAngularCompilerPlugin.getCompiledFile (/Users/corey/Desktop/MyDev/accelerometer/node_modules/nativescript-dev-webpack/plugins/NativeScriptAngularCompilerPlugin.js:28:26) at /Users/corey/Desktop/MyDev/accelerometer/node_modules/@ngtools/webpack/src/loader.js:41:31 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:93:5) @ ../node_modules/nativescript-physics-js/index.js 3:17-49 @ ./app/home/home.component.ts @ ./app/home/home.module.ts @ ./app/app-routing.module.ts @ ./app/app.module.ts @ ./main.ts