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
Run 'npm install license-checker --foreground-scripts --verbose'
See nothing. No postinstall or preinstall or any hooks are executed.
Actually all hooks seem to not be working. Tested it with the version hooks, too.
Environment
npm: 10.8.2
Node.js: v22.6.0
OS Name: Fedora 40
System Model Name: -
npm config:
; node bin location = /home/user/.nvm/versions/node/v22.6.0/bin/node
; node version = v22.6.0
; npm local prefix = /home/user/Projects
; npm version = 10.8.2
; cwd = /home/user/Projects
; HOME = /home/user
; Run `npm config ls -l` to show all defaults.
The text was updated successfully, but these errors were encountered:
@func0der when you install a pacakge then scripts mentioned inside that pacakge's package.json file will execute, in your case it should run the scripts of license-checker when you install that package, but I believe that you are expecting that npm install license-checker will run the script of failing which it will not execute, as mentioned in my previous comment the version script is working fine. If you still think there is something I missed, please provide your test setup, complete re-production steps, logs etc.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
No livecycle hooks (https://docs.npmjs.com/cli/v10/using-npm/scripts#life-cycle-operation-order) are run at all.
Expected Behavior
Livecycle hooks are run
Steps To Reproduce
Create package.json
Run 'npm install license-checker --foreground-scripts --verbose'
See nothing. No postinstall or preinstall or any hooks are executed.
Actually all hooks seem to not be working. Tested it with the
version
hooks, too.Environment
The text was updated successfully, but these errors were encountered: