Hey, I was debugging some problem (#117) in chat-analytics (which uses whatsapp-chat-parser) and found out the package can't be installed due the postinstall script.
> npm i whatsapp-chat-parser
npm error code 1
npm error path C:\Users\Lombi\node_modules\whatsapp-chat-parser
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c husky install
npm error 'husky' is not recognized as an internal or external command,
npm error operable program or batch file.
npm error A complete log of this run can be found in: C:\Users\Lombi\AppData\Local\npm-cache\_logs\2024-08-13T17_30_41_373Z-debug-0.log
The problem persists when trying to install chat-analytics.
npm i -g chat-analytics
npm error code 1
npm error path C:\Users\Lombi\AppData\Roaming\npm\node_modules\chat-analytics\node_modules\whatsapp-chat-parser
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c husky install
npm error 'husky' is not recognized as an internal or external command,
npm error operable program or batch file.
npm error A complete log of this run can be found in: C:\Users\Lombi\AppData\Local\npm-cache\_logs\2024-08-13T17_33_06_953Z-debug-0.log
I recommend removing the postinstall script. I usually have those disabled, but forgot to do so in this machine.
😃
Hey, I was debugging some problem (#117) in chat-analytics (which uses whatsapp-chat-parser) and found out the package can't be installed due the postinstall script.
The problem persists when trying to install chat-analytics.
I recommend removing the postinstall script. I usually have those disabled, but forgot to do so in this machine.
😃