-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
Please let tns
continue if it encounters a "does not satisfy its siblings' peerDependencies requirements!"
#2056
Comments
@NathanWalker: NativeScript CLI just calls the |
This bit me again today :( ... Any ETA on this pretty frustrating situation? I need to use some bleeding edge npm versions which will cause peer dependency warning like above, however the code runs fine. Just need the cli to not stop dead cold when this happens, but instead continue along with the build/run. |
Seconded, this is super frustrating. We're evaluating {N} right now, and this is preventing us from going forward. |
Hey, @NathanWalker , @bbultman can you give me exact steps to reproduce the issue on my side? Also can you send us the output of |
Results in... |
@bbultman precisely thank you. @rosen-vladimirov This is a critical issue if it could be escalated... please let us know as soon as you know something. |
@rosen-vladimirov Additionally if there is any temporary workaround to make this work right away, please let me know... hoping :) |
@NathanWalker - we are investigating Nathan :). It's an npm version problem, we should see how to provide you with a workaround, but also to find a long term solution. |
Hey guys, I've continued my research and I've noticed that in npm3 the peer dependencies are not automatically installed and missing them in the project produces just warnings. At the moment we are unable to update CLI's dependency of npm to 3.x.x as there are some issues in the code that moves packages from So this issue is resolved in master branch of CLI. You can try it on your side 😉
And in the installation dir navigate to
with
This way you'll see only warnings in such case ;) |
Awesome, thanks @rosen-vladimirov I'll test it out directly. Update: Current master (70ebb32) works as described, great work! |
Hey @bbultman , |
@rosen-vladimirov My bad, you're totally correct! I neglected to transpile. Master works fine! |
@NathanWalker I've also found another workaround that you can use in your scripts. Instead of calling |
Thank you @rosen-vladimirov that works! 👍 I'll use that in the interim until next release. |
In 99% of the cases, I can almost guarantee that installing packages where one package does not satisfy "its siblings' peerDependencies", the app will still run.
And besides that, managing dependencies should be a burden for the developer.
Right now,
tns
will fail before it even starts if it encounters some sibling peerDependency issue.This is very frustrating.
Example:
The text was updated successfully, but these errors were encountered: