1
我正在嘗試使用jspm
將mapbox gl包添加到我的Aurealia Typescript skeleton中。我正在使用以下命令。通過jspm失敗安裝mapbox-gl包
jspm install npm:mapbox-gl
這是我得到。
Looking up npm:mapbox-gl
Updating registry cache...
Downloading npm:[email protected]
warn Error on processPackageConfig
Package.json dependency mapbox-gl-shaders set to github:mapbox/mapbox-gl-shaders#e4737bb136d718f9c5fe8d943380f05db6249b57, which is not a valid dependency format for npm.
It's advisable to publish jspm-style packages to GitHub or another registry so conventions are clear.
warn Error processing package config for npm:mapbox-gl.
err Error processing package config for npm:mapbox-gl.
warn Installation changes not saved.
我正在使用jspm 0.16.36
。
當我嘗試通過npm install mapbox-gl
安裝包時,它正常工作。有什麼建議麼?
您可能需要一個墊片配置才能使用。搜索關於如何創建和測試的jspm文檔。 –