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
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