This relates to #2372.
I've got a non-npm dependency in a native module, which happens to have a package.json file. This confuses npm and causes it to rename this gypfile to binding.gyp, thus breaking my build.
Broken tarball: http://registry.npmjs.org/sophist/-/sophist-0.2.0.tgz
Please don't rename gypfiles.
Remove package.json from list dep.
npm renames list.gyp -> binding.gyp for an unknown reason. See npm/npm#4630.
definitely an npm bug
It also breaks my build. Please don't rename gypfiles
@stephenmathieson is this bug still occurring using the latest npm@2 or npm@3?
Reminds me of npm/fstream-npm#18.