United-Philanthropy-Forum / km-starter-kit

KM Starter Kit
0 stars 1 forks source link

Don't fail composer operations when npm fails #23

Closed wxactly closed 3 years ago

wxactly commented 3 years ago

Fixes this type of error when npm fails - we should be able to complete composer operations successfully even if our node environment is broken for some reason.

Script npm install --prefix web/themes/custom/ts_scgm handling the compile-code event returned with error code 1
Script @compile-code was called via post-update-cmd

Installation failed, reverting ./composer.json to its original content.