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

tns update command doesn't work with yarn #4228

Closed
miroslavaivanova opened this issue Dec 13, 2018 · 0 comments
Closed

tns update command doesn't work with yarn #4228

miroslavaivanova opened this issue Dec 13, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@miroslavaivanova
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: 5.1.0
  • Cross-platform modules:5.1.0
  • Android Runtime:5.1.0
  • iOS Runtime:5.1.0

Describe the bug
Set package manager to be yarn and try to use command: tns update. You will see exception: Could not update the project!

To Reproduce

  1. tns create app
  2. tns platform add android
  3. tns update

Expected behavior
Successfully update added platform and installed plugin

Additional context
console log exception:

 stdout: yarn remove v1.12.3
[1/2] Removing module tns-core-modules-widgets...
info Visit https://yarnpkg.com/en/docs/cli/remove for documentation about this command.
 
 stderr: error This module isn't specified in a package.json file.

Could not update the project!
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