Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins' platforms directory should not exist in tns_modules #3932

Closed
rosen-vladimirov opened this issue Sep 25, 2018 · 0 comments
Closed

Plugins' platforms directory should not exist in tns_modules #3932

rosen-vladimirov opened this issue Sep 25, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Tell us about the problem

The <project dir>/platforms/<platform>/.../tns_modules directory should contain only the .js code of the application. However, in case nativescript plugin is installed in the node_modules directory of another package (not directly inside the project), its platforms directory is copied to tns_modules as well. This leads to error when trying to build application that has such structure with Xcode 10.

Which platform(s) does your issue occur on?

Both

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.2.4
  • Cross-platform modules: Not applicable
  • Runtime(s): Not applicable
  • Plugin(s): local copy of nativescript-ui-listview (check steps to reproduce)

Please tell us how to recreate the issue in as much detail as possible.

Use this project:
https://github.com/rosen-vladimirov/application-tns_modules-native-files
Check its README for steps to reproduce

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants