Skip to content

NPM Plugins not working in Preview #4514

@mohammedzamakhan

Description

@mohammedzamakhan

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.3.1
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime:
  • Plugin(s):

Describe the bug
When I run my application using tns preview in my nativescript playground iOS app, with any third party node module include such as @ngx-translate/core, I get the error

Plugin @ngx-translate/core is not included in preview app on device 4F87D793-E6AE-4627-B24C-B84938B4FDBB and will not work.

@ngx-translate is not a nativescript plugin, instead it is just a Angular Module.

To Reproduce

Expected behavior

Sample project

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions