With a fresh Node v4 or v0.12 installation from nvm, but with npm@2 installed instead of npm@3, an npm install of a module that depends on a module using our new postinstall workflow will fail:
$ git clone git@github.com:FormidableLabs/victory-bar.git
$ cd victory-bar
$ npm install
With a fresh Node v4 or v0.12 installation from
nvm
, but with npm@2 installed instead of npm@3, annpm install
of a module that depends on a module using our newpostinstall
workflow will fail:...fails with this output:
The gist is that
postinstall
is running either before the dependencies (likerimraf
) are installed, or just without access to them somehow.