0
プライベートなnpmサーバを稼働させることに成功しました。これはWindows 10マシン上のUbuntu VM内にあります。Angular2が複製されたnpmリポジトリの一部でないのはなぜですか?
https://skimdb.npmjs.com/registry
をCouchDBのソースとして使用してnpmリポジトリを複製し、jquery
などのパッケージに対して、Windows 10マシンからクエリできます。
PS D:\Sources\NodeJS\test> npm view jquery
{ name: 'jquery',
description: 'JavaScript library for DOM operations',
'dist-tags': { beta: '3.0.0-rc1', latest: '2.2.4' },
...
gitHead: 'c0185ab7c75aab88762c5aae780b9d83b80eda72',
dist:
{ shasum: '2c89d6889b5eac522a7eea32c14521559c6cbf02',
tarball: 'http://registry.npmjs.org/jquery/-/jquery-2.2.4.tgz' },
directories: {} }
ただし、@angular/*
パッケージのすべてが欠落しているようです。私がnpmをskimdb
に直接指しても、まったく同じ結果になるので、複製に問題はありません。
PS D:\Sources\NodeJS\test> npm view @angular/common
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "view" "@angular/common"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! code E404
npm ERR! 404 Not Found: @angular/common
npm ERR! 404
npm ERR! 404 '@angular/common' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Sources\NodeJS\test\npm-debug.log
これは適切なレジストリですか?