Gesendet: Montag, 13. Februar 2017 um 11:32 Uhr Von: "Karl Cheng"
An: "Axel Braun" Cc: opensuse-packaging Betreff: Re: [opensuse-packaging] have choice for npm needed by nodejs-packaging: nodejs-npm npm Hi, I've just spent some time trying to figure out why this is happening.
Thanks for this!
For 42.1, this is caused by:
- "devel:languages:python" indirectly referencing the 42.1 update repo with lower priority; and - "nodejs-npm" was accidentally renamed to "npm" during a 42.1 update.
As a result, you need to add a prjconf directive to prefer nodejs-npm (0.12.7 initial release) or npm (4.x in updates).
How does this work exactly? There is no Prefers: - tag in OBS. When adding Requires: npm > 4.0 it still throws the above arror
For 42.2, this is to do with the initial 42.2 package missing provides for "npm" and "nodejs-npm". You need to link to a new version of nodejs4 (from Factory or devel repo), or add the 42.2 update repo as top priority.
Did the latter, that works.
You might also need to enable the build flag for nodejs-packaging in the Application:ERP:Tryton:3.8 project.
As for SLE, I'm still not sure why it can't find npm, as it appears to be included in the SLE repositories -- I'll try and get back to you on that one.
I remember Marguerite Su mentioned there is more nodejs-stuff missing for SLE. Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org