def compile_assets(self):
        try:
            subprocess.check_call(['npm', 'run', 'build'])
        except (__HOLE__, subprocess.CalledProcessError) as e:
            print('Error compiling assets: ' + str(e))
            raise SystemExit(1)
dataset/ETHPy150Open torchbox/wagtail/wagtail/utils/setup.py/assets_mixin.compile_assets