File: /var/www/vhosts/app.ett-dev.2amigos.us/logs/deploy-31-12-2020-14-53-57.log
[31-12-2020 14:53:57]: === START DEPLOY ===
[31-12-2020 14:53:57]: *** PULL ORIGIN STEP ***
From gitlab.com:2amigos/emit.to-panel
* branch development -> FETCH_HEAD
469e17d..0a1d3fe development -> origin/development
Updating 469e17d..0a1d3fe
Fast-forward
.gitignore | 2 ++
README.md | 5 +++++
src/config.example.json | 4 ++++
src/config.js | 4 ----
src/utils/api.js | 2 +-
src/utils/jsonApiConfig.js | 2 +-
6 files changed, 13 insertions(+), 6 deletions(-)
create mode 100644 src/config.example.json
delete mode 100644 src/config.js
[31-12-2020 14:53:58]: *** AFTER PULL STEP ***
+ export HOME=/var/www
+ HOME=/var/www
+ cd /var/www/vhosts/ett-dev.2amigos.us/docroot
+ npm ci
npm WARN prepare removing existing node_modules/ before installation
> core-js@2.6.11 postinstall /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
[96mThank you for using core-js ([94m https://github.com/zloirock/core-js [96m) for polyfilling JavaScript standard library![0m
[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: [0m
[96m>[94m https://opencollective.com/core-js [0m
[96m>[94m https://www.patreon.com/zloirock [0m
[96mAlso, the author of core-js ([94m https://github.com/zloirock [96m) is looking for a good job -)[0m
> fsevents@1.2.13 install /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/webpack-dev-server/node_modules/fsevents
> node install.js
Skipping 'fsevents' build as platform linux is not supported
> fsevents@1.2.13 install /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/watchpack-chokidar2/node_modules/fsevents
> node install.js
Skipping 'fsevents' build as platform linux is not supported
> core-js@3.6.5 postinstall /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> fsevents@1.2.13 install /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/jest-haste-map/node_modules/fsevents
> node install.js
Skipping 'fsevents' build as platform linux is not supported
> core-js-pure@3.6.5 postinstall /var/www/vhosts/ett-dev.2amigos.us/docroot/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
added 1767 packages in 47.926s
+ npm run build
> react-material-dashboard@1.0.0 build /var/www/vhosts/ett-dev.2amigos.us/docroot
> react-scripts build
Creating an optimized production build...
Failed to compile.
./src/utils/jsonApiConfig.js
Cannot find file '../config.json' in './src/utils'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-material-dashboard@1.0.0 build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-material-dashboard@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /var/www/.npm/_logs/2020-12-31T14_54_56_799Z-debug.log
[31-12-2020 14:54:56]: === DEPLOY NOT COMPLETE, CHECK ABOVE ERRORS ===