Skip to content

Upgrade to @nativescript/core 7 #248

Description

@limux82

Trying with @nativescript/core 7 (7.0.0-rc.57), version of this plugin 4.5.0 I see this error in compilation due to changes in namespace in @nativescript/core

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/image-asset/image-asset' in '/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 4:23-74
@ ./app/core/services/camera.service.ts
@ ./app/shared/components/navigation-menu/navigation-menu.component.ts
@ ./app/shared/shared.module.ts
@ ./app/app.module.ts
@ ./main.ts

ERROR in ../node_modules/nativescript-camera/camera.js
Module not found: Error: Can't resolve 'tns-core-modules/trace/trace' in '/node_modules/nativescript-camera'
@ ../node_modules/nativescript-camera/camera.js 5:12-51
@ ./app/core/services/camera.service.ts
@ ./app/shared/components/navigation-menu/navigation-menu.component.ts
@ ./app/shared/shared.module.ts
@ ./app/app.module.ts
@ ./main.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions