File: /var/www/vhosts/app.ett-dev.2amigos.us/logs/deploy-31-12-2020-14-17-45.log
[31-12-2020 14:17:45]: === START DEPLOY ===
[31-12-2020 14:17:45]: *** PULL ORIGIN STEP ***
From gitlab.com:2amigos/emit.to-panel
* branch development -> FETCH_HEAD
Already up to date.
[31-12-2020 14:17:45]: *** AFTER PULL STEP ***
+ export HOME=/var/www
+ HOME=/var/www
+ cd /var/www/vhosts/ett-dev.2amigos.us/docroot
+ npm ci
> 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 22.006s
+ 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...
Compiled with warnings.
./src/views/Invoice/index.js
Line 102:8: React Hook useEffect has missing dependencies: 'loadInvoices' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/SocialNetworks.js
Line 106:37: Expected to return a value in arrow function array-callback-return
Line 118:8: React Hook useEffect has missing dependencies: 'editData.id' and 'isEdit'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/layouts/DashboardLayout/NavBar/index.js
Line 108:8: React Hook useEffect has missing dependencies: 'onMobileClose' and 'openMobile'. Either include them or remove the dependency array. If 'onMobileClose' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
./src/views/VirtualPhone/PhoneSearch.js
Line 124:47: Expected to return a value in arrow function array-callback-return
Line 168:35: Expected to return a value in arrow function array-callback-return
Line 183:31: Expected to return a value in arrow function array-callback-return
Line 206:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/message/view/ViewMessage.js
Line 136:8: React Hook useEffect has missing dependencies: 'loadMessageLog', 'navigate', and 'state'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/dashboard/Card.js
Line 14:8: 'ArrowDownwardIcon' is defined but never used no-unused-vars
Line 16:8: 'ArrowUpwardIcon' is defined but never used no-unused-vars
./src/views/dashboard/TrafficByDevice.js
Line 166:8: React Hook useEffect has a missing dependency: 'loadGraphData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/utils/EmitValidation.js
Line 21:26: Unnecessary escape character: \[ no-useless-escape
Line 21:51: Unnecessary escape character: \[ no-useless-escape
./src/views/message/create/CreateMessage.js
Line 226:8: React Hook useEffect has missing dependencies: 'isEdit', 'messageData', 'navigate', 'pickupDate', and 'state'. Either include them or remove the dependency array. You can also do a functional update 'setPickupDate(p => ...)' if you only need 'pickupDate' in the 'setPickupDate' call react-hooks/exhaustive-deps
./src/views/message/create/Listings.js
Line 22:32: Expected to return a value in arrow function array-callback-return
Line 25:51: Expected to return a value in arrow function array-callback-return
Line 52:33: Expected to return a value in arrow function array-callback-return
Line 122:8: React Hook useEffect has missing dependencies: 'checkedList', 'isEdit', 'loadList', and 'recipients'. Either include them or remove the dependency array. You can also do a functional update 'setCheckedList(c => ...)' if you only need 'checkedList' in the 'setCheckedList' call react-hooks/exhaustive-deps
./src/views/message/create/DropPhoto.js
Line 28:34: Expected to return a value in arrow function array-callback-return
Line 47:8: React Hook useEffect has a missing dependency: 'allFiles'. Either include it or remove the dependency array. If 'setFiles' needs the current value of 'allFiles', you can also switch to useReducer instead of useState and read 'allFiles' in the reducer react-hooks/exhaustive-deps
./src/views/VirtualPhone/PhoneSearchToolbar.js
Line 2:21: 'IconButton' is defined but never used no-unused-vars
./src/views/wallet/Wallet.js
Line 34:1: String prototype is read only, properties should not be added no-extend-native
Line 121:7: React Hook useEffect has missing dependencies: 'loadTransaction' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/AddressDetails.js
Line 36:52: 'country' is assigned a value but never used no-unused-vars
Line 123:37: Expected to return a value in arrow function array-callback-return
Line 124:47: 'country' is assigned a value but never used no-unused-vars
Line 145:8: React Hook useEffect has missing dependencies: 'address_params', 'editData.id', and 'isEdit'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/listing/ManageListing.js
Line 49:56: Expected to return a value in arrow function array-callback-return
Line 50:45: Expected to return a value in arrow function array-callback-return
Line 72:56: Expected to return a value in arrow function array-callback-return
Line 73:45: Expected to return a value in arrow function array-callback-return
Line 88:32: Expected to return a value in arrow function array-callback-return
Line 89:73: Expected '===' and instead saw '==' eqeqeq
Line 130:33: Expected to return a value in arrow function array-callback-return
Line 154:44: Expected to return a value in arrow function array-callback-return
Line 178:8: React Hook useEffect has missing dependencies: 'limit.search', 'loadListingPeople', and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/message/create/Recipient.js
Line 50:22: Expected to return a value in arrow function array-callback-return
Line 51:37: Expected to return a value in arrow function array-callback-return
Line 56:47: Expected to return a value in arrow function array-callback-return
Line 76:35: Expected to return a value in arrow function array-callback-return
Line 96:32: Expected to return a value in arrow function array-callback-return
Line 99:51: Expected to return a value in arrow function array-callback-return
Line 192:38: 'meta' is assigned a value but never used no-unused-vars
Line 193:33: Expected to return a value in arrow function array-callback-return
Line 255:8: React Hook useEffect has missing dependencies: 'isEdit', 'onPeopleSelectedChange', 'recipients', and 'setEditPeople'. Either include them or remove the dependency array. If 'onPeopleSelectedChange' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps
./src/layouts/DashboardLayout/TopBar.js
Line 52:8: React Hook useEffect has a missing dependency: 'updateBalance'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/components/AllComponent.js
Line 53:32: 'btnText' is assigned a value but never used no-unused-vars
Line 53:41: 'btnColor' is assigned a value but never used no-unused-vars
Line 72:46: Expected '===' and instead saw '==' eqeqeq
./src/views/people/PeopleList/index.js
Line 64:29: Expected to return a value in arrow function array-callback-return
Line 91:33: Expected to return a value in arrow function array-callback-return
Line 118:8: React Hook useEffect has missing dependencies: 'initialPeopleList' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Line 162:31: Expected to return a value in arrow function array-callback-return
Line 169:31: Expected to return a value in arrow function array-callback-return
./src/views/settings/Account.js
Line 65:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/settings/Password.js
Line 67:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/dashboard/index.js
Line 69:8: React Hook useEffect has missing dependencies: 'loadMessageCount', 'loadTotalPeople', and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/message/list/MessageList.js
Line 71:33: Expected to return a value in arrow function array-callback-return
Line 186:8: React Hook useEffect has missing dependencies: 'loadMessageList' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/settings/index.js
Line 76:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/VirtualPhone/YourPhone.js
Line 79:8: React Hook useEffect has missing dependencies: 'loadAllPhone' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/listing/index.js
Line 80:8: React Hook useEffect has missing dependencies: 'loadListing' and 'navigate'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/PersonalDetails.js
Line 83:8: React Hook useEffect has missing dependencies: 'editData', 'extraData', 'isEdit', and 'pdValues'. Either include them or remove the dependency array. You can also do a functional update 'setPdValues(p => ...)' if you only need 'pdValues' in the 'setPdValues' call react-hooks/exhaustive-deps
./src/views/settings/PaymentMethod.js
Line 84:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/PhoneDetails.js
Line 85:42: Expected to return a value in arrow function array-callback-return
Line 130:33: Expected to return a value in arrow function array-callback-return
Line 151:8: React Hook useEffect has missing dependencies: 'isEdit' and 'loadPhoneNumber'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/index.js
Line 87:8: React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/LinkDetails.js
Line 97:37: Expected to return a value in arrow function array-callback-return
Line 105:8: React Hook useEffect has missing dependencies: 'editData.id' and 'isEdit'. Either include them or remove the dependency array react-hooks/exhaustive-deps
./src/views/people/AddPeople/EmailDetails.js
Line 98:37: Expected to return a value in arrow function array-callback-return
Line 106:8: React Hook useEffect has missing dependencies: 'editData.id' and 'isEdit'. Either include them or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
File sizes after gzip:
335.84 KB build/static/js/2.e63f3964.chunk.js
34.16 KB build/static/js/main.e841c17e.chunk.js
1.44 KB build/static/css/2.3cfc6103.chunk.css
783 B build/static/js/runtime-main.6a771f16.js
735 B build/static/css/main.57679589.chunk.css
The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
Find out more about deployment here:
bit.ly/CRA-deploy
[31-12-2020 14:20:07]: === DEPLOY COMPLETE ===