我試圖安裝react-bootstrap-datetimepicker與熱蒙和我得到這個錯誤:錯誤安裝的NPM庫JSPM
$ jspm install npm:react-bootstrap-datetimepicker
Password:
Looking up npm:react-bootstrap-datetimepicker
Updating registry cache...
Downloading npm:[email protected]
Looking up npm:babel-runtime
Looking up npm:classnames
Looking up npm:moment
Looking up npm:react-bootstrap
Looking up npm:react
Downloading npm:[email protected]
Downloading npm:[email protected]
Downloading npm:[email protected]
warn Error on download for npm:react-bootstrap-datetimepicker
Error: ENOENT, link '/Users/me/.jspm/packages/npm/[email protected]/react-bootstrap-datetimepicker/lib/DateTimeField.js'
at Error (native)
err Error downloading npm:react-bootstrap-datetimepicker.
warn Installation changes not saved.
我可以看到它的失敗是因爲沒有目錄react-bootstrap-datetimepicker
在
/Users/me/.jspm/packages/npm/[email protected]/
。
然而,
/Users/me/.jspm/packages/npm/[email protected]/lib/DateTimeField.js
。
是否需要修改react-bootstrap-datetimepicker代碼以便它可以與jspm一起使用?任何其他的想法是什麼造成了這個?
我登錄了一個問題here。
https://github.com/jspm/jspm-cli/issues/284 – Lilp
@Lilp,謝謝你的提示。這個問題是在不久前發生的,我沒有看到它與這個問題的關係。你能提供一些更具體的細節嗎? –