-
Notifications
You must be signed in to change notification settings - Fork 28
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
Doesn't seem to install with npm 3.x #23
Comments
Can you give me more details please? I have just |
Also ran |
yeah sorry for the vague issue, I will look into it more today, I didn't have time yesterday but wanted to make sure I noted it before i forgot! |
Gonna close for now, since I can't repo the issue...I will report back if I can figure it out :) |
Thx |
@rxaviers ran into a similar issue. When running If I run May I ask what's the benefit of skipping the download? It seems to come with a lot of highly coupled code (the assumptions about the |
Before npm@3 we had the following issue: an app having libraries that depend on cldr-data. Therefore, more than one copy were downloaded, which was frustrating... This skip approach helped solving that. On npm@3, dependencies are flattened, so this isn't that useful anymore. I am open to suggestions how to improve this remembering a solution should work for any npm version. So far I believe #28 would be it. |
Does removing that frustration outweigh having the frustration of not being able to use Also, what happens when you have 2 libs that depend on 2 versions of I'm not saying that optimizing the downloads was a bad decision, I'm just asking if it's still valid. |
I'm not sure my explanation was clear. The problem was related to peer dependency only, not direct dependency. It only aborted downloading the files on a special case: two or more libraries having cldr-data as peer dependencies. Globalize depends on cldrjs, both Globalize and cldrjs have cldr-data as peer dependency, which are enough to hit the issue. Again, this isn't an issue anymore on npm@3. Please, just let me know if you have any further questions. |
Fixes #23 Fixes #29 Closes #30 Signed-off-by: Marcel Klehr <[email protected]>
Fixes #23 Fixes #29 Closes #30 Signed-off-by: Marcel Klehr <[email protected]>
Fixes #23 Fixes #29 Closes #30 Signed-off-by: Marcel Klehr <[email protected]>
Fixes #23 Fixes #29 Closes #30 Signed-off-by: Marcel Klehr <[email protected]>
Fixes #23 Fixes #29 Closes #30 Signed-off-by: Marcel Klehr <[email protected]>
I am not quite sure why but installing cldr-data with npm 3.x always gives an the warning that it is a peer dep and so is not installing. This may be due to the package assuming stuff about node_module layout that isn't true now that its mostly flat.
I did confirm that I had it listed as a dev Dep in my package (and not a peer dep)
The text was updated successfully, but these errors were encountered: