nativescript-loading-indicator
nativescript-loading-indicator copied to clipboard
Error: Cannot find module '@nativescript/core/color' (CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module '@nativescript/core/color'
I am using NativeScript v 6.4.0 and Angular v 8.
I installed this plugin and then I tried to build my project but I got this error: tns run ios
ERROR in ../node_modules/@nstudio/nativescript-loading-indicator/loading-indicator.js
Module not found: Error: Can't resolve '@nativescript/core/color' in '/Users/aubrey/Documents/Repos/SelfServiceApp2/node_modules/@nstudio/nativescript-loading-indicator'
@ ../node_modules/@nstudio/nativescript-loading-indicator/loading-indicator.js 6:14-49
@ ./app/core/http-loader.service.ts
@ ./app/core/core.module.ts
@ ./app/app.module.ts
@ ./main.ts
JavaScript error:
file:///node_modules/@nstudio/nativescript-loading-indicator/loading-indicator.js:6:22: JS ERROR Error: Cannot find module '@nativescript/core/color'
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Cannot find module '@nativescript/core/color'