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

Prepare does not work correctly if you have npm module and tns plugin in same project #629

Closed
dtopuzov opened this issue Jul 8, 2015 · 1 comment
Assignees
Milestone

Comments

@dtopuzov
Copy link
Contributor

dtopuzov commented Jul 8, 2015

Steps to reproduce:
tns create TestApp
cd TestApp
tns platform add android
tns plugin add nativescript-social-share
tns prepare -> everything is fine at this point
npm install nativescript-appversion --save
tns prepare -> In platforms/android/assets/app/tns_modules/nativescript-social-share all js files are missing.

@rosen-vladimirov
Copy link
Contributor

As a workaround you can delete node_modules directory before preparing the project (after npm install <...> --save. This way everything will be prepared correctly.

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

No branches or pull requests

3 participants