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

node_modules are prepared twice on initial run #4010

Closed
rosen-vladimirov opened this issue Oct 10, 2018 · 0 comments
Closed

node_modules are prepared twice on initial run #4010

rosen-vladimirov opened this issue Oct 10, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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: 4.2.4
  • Cross-platform modules: Not applicable
  • Android Runtime: Not applicable
  • iOS Runtime: Not applicable
  • Plugin(s): Not applicable, but more visible in case you have a lot of node_modules.

Describe the bug
The first run of the project installs the native platform and prepares node_modules, i.e. copies them to platforms dir. However, this is done twice, which slows down the initial preparation.

To Reproduce

tns create myApp --template tns-template-master-detail-ng
cd myApp
tns run <platform>

No actual way to detect it, but visible when you look at the code.

Expected behavior
Prepare node_modules only once.

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

3 participants