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文档。 –