Bahmni Connect: npm error when packaging

Hi guys!

In Bahmni Connect, I get an error when using ui/scripts/pacakge.sh.

sh ./scripts/package.sh

[...]
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
npm ERR! 
npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/lib/jenkins/.npm/_logs/2018-03-19T14_43_18_890Z-debug.log
[...]

This is related to the following lines in the script:

I suggest we simply remove those, such as the error message suggests:

[…]the npm cache self-heals from corruption issues […]

If that’s ok, I can create a JIRA ticket and PR the changes.

@sumanmaity112?

Hi @mksrom,

I think it should be fine. You can go ahead and create Jira ticket and PR changes.

1 Like

Thanks, JIRA ticket and GitHub PR done:

1 Like