を見つけていない私は、カスタムを作成するためにNPMを使用して、私のExpressプロジェクト内OpenLayersををインストールしようとしているビルドが、私は次のエラーを取得する:OpenLayersをインストール - パケット
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'mapbox/vector-tile' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'openlayers'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 3.16.0-4-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "openlayers"
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! not ok code 0
私はNPMを更新してみましたベクタータイルを手動でインストールしても問題ありません。
私は間違っていますか?
編集:npm install openlayers
の代わりにnpm install ol
を呼び出すと同じエラーが発生します。
openlayersはmapboxベクトルタイルに依存します。あなたは "npm install @ mapbox/vector-tile"を使ってインストールしようとすることができます。私は、ベクトルタイルパッケージをダウンロードする際に何らかのエラーが発生したと思います。 –