我试图安装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,谢谢你的提示。这个问题是在不久前发生的,我没有看到它与这个问题的关系。你能提供一些更具体的细节吗? –