sinopia icon indicating copy to clipboard operation
sinopia copied to clipboard

[Help] Failed to install scoped package @reactivex/rxjs

Open lanfeng opened this issue 9 years ago • 5 comments
trafficstars

I noticed that it was an issue to install scoped package and there is already some fix committed in master branch. So I install the [email protected], fetch the latest master code to merge and replace Sinopia install folder. However it still failed to install scoped package.

So I am wondering,

  1. Does Sinopia Master branch support to install scoped packages now?
  2. If it does support, what did I wrong.
  3. how to build the master branch locally in my computer.

Thanks for your input.

Regards,

Lanfeng

lanfeng avatar Mar 21 '16 09:03 lanfeng

@rlidwka

lanfeng avatar Mar 21 '16 09:03 lanfeng

@lanfeng do you have a proxy specified for both scoped and non-scoped packages in your config.yaml? example:

packages:
  '*':
    access: $all
    publish: $all
    proxy: npmjs

  '@*/*':
    access: $all
    publish: $all
    proxy: npmjs

mstorus avatar Mar 23 '16 05:03 mstorus

We are on the latest Sinopia, and also having similar problems with scoped packages. I've tried including the scoped package block as described above, but we still get e404 package not found errors for scoped packages from npmjs.org. Our internal scoped packages work okay.

Is there some other setting that we're missing that goes along with the packages block?

geekytime avatar Apr 21 '16 18:04 geekytime

I found that sinopia try to download https://registry.npmjs.org/%40reactivex%2Frxjs instead of https://registry.npmjs.org/@reactivex%2Frxjs

% sinopia --version
1.4.0

smmoosavi avatar May 03 '16 06:05 smmoosavi

This issue has same source and workaround like Issue #399

kukjevov avatar May 10 '16 07:05 kukjevov