Closed tylercollier closed 8 years ago
Thanks for the report, I should dig into this issue. In the mean time, add a .babelrc
to your project as a workaround.
@FredericHeem just wanted to leave a note here in case it helps anyone: my build process creates a docker container and the postinstall babel-cli command was failing. The solution was to do as suggested and copy in .babelrc
to my docker container in my Dockerfile (as well as add babel-cli
to my dev-dependencies).
there's no big reason to have the postinstall in addition to the prepublish
Please try the new version 0.16.0
which removes the postinstall
npm script.
Let me know if it works for you.
Thanks a lot everyone for the reports.
When I try to install redux-act-async, I get:
It's trying to run
babel
, from the babel-cli package, which I don't have on my production server. The cheater fix is for me to install babel-cli. But I think you should remove the postinstall script, since it seems like it's for dev only? When I look at the package of redux-act-async that's on npm, it already has alib
directory with the pre-built/babelfied files there anyway. Or perhaps you can use a prepublish script instead, like is suggested here: