We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use postinstall hook in my package,the output is not complete,maybe related to #5476.
When the postinstall runs right,there is no output ,when runs wrong, it will get the wrong output. but my wrong output is not complete
yarn add test-postinstall-o@1.1.0
The postinstall code is :
console.log('postinstall...'); console.log('postinstall...'); console.log('postinstall...'); console.log('will exit with code 1'); process.exit(1);
What is the current behavior?
The first time, in Windows PowerShell ,i got the full output:
postinstall... postinstall... postinstall... will exit with code 1
After this time, i didn't get the complete output any more,
I delete node_modules and still like that
I was confused and i use the Git Bash,i always got the complete output
What is the expected behavior?
I should get the complete output like the first time,or where to clean the cache
Environment
12.16.1
1.22.0
The text was updated successfully, but these errors were encountered:
By the way, the reason i found this is that: i didn't got the output when the postinstall script get wrong,and i got the output when i use --verbose .
--verbose
Sorry, something went wrong.
Has some config like npm foreground-scripts ?
No branches or pull requests
Bug description
I use postinstall hook in my package,the output is not complete,maybe related to #5476.
When the postinstall runs right,there is no output ,when runs wrong, it will get the wrong output.
but my wrong output is not complete
The postinstall code is :
What is the current behavior?
The first time, in Windows PowerShell ,i got the full output:
After this time, i didn't get the complete output any more,
I delete node_modules and still like that
I was confused and i use the Git Bash,i always got the complete output
What is the expected behavior?
I should get the complete output like the first time,or where to clean the cache
Environment
12.16.1
1.22.0
The text was updated successfully, but these errors were encountered: