You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.
If there is a binding.gyp file in the root of your package and you haven't defined your own install or preinstall scripts, npm will default the install command to compile using node-gyp.
Detection for the binding.gyp file should be run and pkg.scripts.install should be added to the pkg object before the install hook is called here:
This is a continuation of zkat#45, a side-effect of the provided fix for it
in zkat#46 and was introduced in `cipm@1.6.2`.
For the case where a default `install` script is used and a
`binding.gyp` file is present in the package root, `npm ci` will fail
with packages that target a different platform that the one currently
running.
Fixeszkat#49
This was first opened upstream to
npm
at npm/npm#20275It appears that the root cause of the upstream issue is that
cipm
is not considering the default value of the install script:Detection for the
binding.gyp
file should be run andpkg.scripts.install
should be added to thepkg
object before theinstall
hook is called here:cipm/index.js
Line 285 in 08ed1cc
The text was updated successfully, but these errors were encountered: