I'm trying to install react-bootstrap-datetimepicker with jspm and I'm getting this error:
$ jspm install npm:react-bootstrap-datetimepicker
Password:
Looking up npm:react-bootstrap-datetimepicker
Updating registry cache...
Downloading npm:react-bootstrap-datetimepicker@0.0.21
Looking up npm:babel-runtime
Looking up npm:classnames
Looking up npm:moment
Looking up npm:react-bootstrap
Looking up npm:react
Downloading npm:classnames@2.1.5
Downloading npm:react-bootstrap@0.16.1
Downloading npm:moment@2.10.6
warn Error on download for npm:react-bootstrap-datetimepicker
Error: ENOENT, link '/Users/me/.jspm/packages/npm/react-bootstrap-datetimepicker@0.0.21/react-bootstrap-datetimepicker/lib/DateTimeField.js'
at Error (native)
err Error downloading npm:react-bootstrap-datetimepicker.
warn Installation changes not saved.
I can see that it's failing because there is no directory react-bootstrap-datetimepicker
in
/Users/me/.jspm/packages/npm/react-bootstrap-datetimepicker@0.0.21/
.
However, there is
/Users/me/.jspm/packages/npm/react-bootstrap-datetimepicker@0.0.21/lib/DateTimeField.js
.
Does the react-bootstrap-datetimepicker code need to be modified so that it will work with jspm? Any other ideas what is causing this?
I logged an issue here.
Looks like the problem is solved:
Running with jspm@0.16.3 on a newly-initialized project.
It turns out this was a bug in jspm/npm. Here's the issue.