sinopia
sinopia copied to clipboard
[Help] Failed to install scoped package @reactivex/rxjs
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,
- Does Sinopia Master branch support to install scoped packages now?
- If it does support, what did I wrong.
- how to build the master branch locally in my computer.
Thanks for your input.
Regards,
Lanfeng
@rlidwka
@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
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?
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
This issue has same source and workaround like Issue #399