#!/bin/bash -eo pipefail
npm run-script build
npm info it worked if it ends with ok
npm info using npm@4.2.0
npm info using node@v7.10.1
npm info lifecycle panel@0.1.0~prebuild: panel@0.1.0
npm info lifecycle panel@0.1.0~build: panel@0.1.0
> panel@0.1.0 build /home/circleci/repo
> react-scripts build
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve '@babel/runtime/core-js/map' in '/home/circleci/repo/node_modules/material-ui/styles'