Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

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' #38

@aquinn637

Description

@aquinn637

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions