HEX
HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux 2amigos-php74 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
User: squarehillcompany.com (1002)
PHP: 7.4.25
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhosts/app.ett-dev.2amigos.us/logs/deploy-15-04-2021-16-41-54.log
[15-04-2021 16:41:54]:   === START DEPLOY ===
[15-04-2021 16:41:54]:   *** PULL ORIGIN STEP ***
From gitlab.com:2amigos/emit.to-panel
 * branch            development -> FETCH_HEAD
Already up to date.
[15-04-2021 16:41:54]:   *** AFTER PULL STEP ***
+ export HOME=/var/www
+ HOME=/var/www
+ cd /var/www/vhosts/app.ett-dev.2amigos.us/docroot
+ npm i
npm WARN react-google-recaptcha-v3@1.8.0 requires a peer of react@^17.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-google-recaptcha-v3@1.8.0 requires a peer of react-dom@^17.0 but none is installed. You must install peer dependencies yourself.
npm WARN tsutils@3.17.1 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN react-material-dashboard@1.0.0 No repository field.
npm WARN react-material-dashboard@1.0.0 No license field.

audited 1773 packages in 11.239s

76 packages are looking for funding
  run `npm fund` for details

found 28 vulnerabilities (2 low, 4 moderate, 22 high)
  run `npm audit fix` to fix them, or `npm audit` for details
+ npm run build

> react-material-dashboard@1.0.0 build /var/www/vhosts/app.ett-dev.2amigos.us/docroot
> react-scripts build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Compiled with warnings.

./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/people/AddPeople/PersonalDetails.js
  Line 113: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/Invoice/index.js
  Line 120:8:  React Hook useEffect has missing dependencies: 'loadInvoices' and 'navigate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/views/VirtualPhone/PhoneSearch.js
  Line 131:32:  Expected to return a value in arrow function                                                                                                                          array-callback-return
  Line 156:47:  Expected to return a value in arrow function                                                                                                                          array-callback-return
  Line 200:35:  Expected to return a value in arrow function                                                                                                                          array-callback-return
  Line 216:31:  Expected to return a value in arrow function                                                                                                                          array-callback-return
  Line 240:8:   React Hook useEffect has missing dependencies: 'countryCode', 'loadCountryList', 'loadPhoneList', and 'navigate'. Either include them 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/TrafficByDevice.js
  Line 167: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 234: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 23:32:  Expected to return a value in arrow function                                                                                                                                                                                                                                          array-callback-return
  Line 26:51:  Expected to return a value in arrow function                                                                                                                                                                                                                                          array-callback-return
  Line 55:33:  Expected to return a value in arrow function                                                                                                                                                                                                                                          array-callback-return
  Line 126: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/dashboard/LatestOrders.js
  Line 24:8:  'api' is defined but never used  no-unused-vars

./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/message/list/MessageList.js
  Line 33:10:  'EmptyTable' is defined but never used                                                                                               no-unused-vars
  Line 75:33:  Expected to return a value in arrow function                                                                                         array-callback-return
  Line 191:8:  React Hook useEffect has missing dependencies: 'loadMessageList' and 'navigate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/views/auth/ForgotPassword.js
  Line 34:12:  'token' is assigned a value but never used  no-unused-vars

./src/views/auth/LoginView.js
  Line 35:12:  'token' is assigned a value but never used                                                                   no-unused-vars
  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/auth/ResetPassword.js
  Line 35:12:  'token' is assigned a value but never used                                                                   no-unused-vars
  Line 77:8:   React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/views/auth/RegisterView.js
  Line 35:13:  'enqueueSnackbar' is assigned a value but never used  no-unused-vars

./src/views/settings/Account.js
  Line 36:44:  'initialId' is assigned a value but never used                                                               no-unused-vars
  Line 101:8:  React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/views/wallet/Wallet.js
  Line 39:1:   String prototype is read only, properties should not be added                                                                        no-extend-native
  Line 169: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 40:32:   Expected to return a value in arrow function                                                                                                                         array-callback-return
  Line 54:56:   'country' is assigned a value but never used                                                                                                                         no-unused-vars
  Line 160:37:  Expected to return a value in arrow function                                                                                                                         array-callback-return
  Line 182:8:   React Hook useEffect has missing dependencies: 'address_params', 'editData.id', 'isEdit', and 'loadCountryList'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/views/auth/SuccessEmailVerified.js
  Line 45:32:  Expected '!==' and instead saw '!='                                                                                         eqeqeq
  Line 58:6:   React Hook useEffect has a missing dependency: 'sendVerificationRequest'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/views/settings/NewEmailVerified.js
  Line 46:34:  Expected '!==' and instead saw '!='                                                                                         eqeqeq
  Line 67:6:   React Hook useEffect has a missing dependency: 'sendVerificationRequest'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/views/message/create/Recipient.js
  Line 51:22:   Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 52:37:   Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 57:47:   Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 77:35:   Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 97:32:   Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 100:51:  Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 195:38:  'meta' is assigned a value but never used                                                                                                                                                                                                                                                                   no-unused-vars
  Line 196:33:  Expected to return a value in arrow function                                                                                                                                                                                                                                                                array-callback-return
  Line 259: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/views/listing/ManageListing.js
  Line 52:56:   Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 53:45:   Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 80:56:   Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 81:45:   Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 98:32:   Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 99:73:   Expected '===' and instead saw '=='                                                                                                                     eqeqeq
  Line 140:33:  Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 164:44:  Expected to return a value in arrow function                                                                                                            array-callback-return
  Line 188: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/components/AllComponent.js
  Line 53:32:  'btnColor' is assigned a value but never used  no-unused-vars

./src/views/listing/index.js
  Line 57:12:  'searching' is assigned a value but never used                                                                                   no-unused-vars
  Line 86:8:   React Hook useEffect has missing dependencies: 'loadListing' and 'navigate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/layouts/DashboardLayout/TopBar.js
  Line 59:48:  Unexpected string concatenation of literals                                                                       no-useless-concat
  Line 74:6:   React Hook useEffect has a missing dependency: 'updateBalance'. Either include it or remove the dependency array  react-hooks/exhaustive-deps

./src/views/people/PeopleList/index.js
  Line 66:29:   Expected to return a value in arrow function                                                                                           array-callback-return
  Line 93:33:   Expected to return a value in arrow function                                                                                           array-callback-return
  Line 120:8:   React Hook useEffect has missing dependencies: 'initialPeopleList' and 'navigate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
  Line 169:31:  Expected to return a value in arrow function                                                                                           array-callback-return
  Line 176:31:  Expected to return a value in arrow function                                                                                           array-callback-return

./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/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/settings/Password.js
  Line 82: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 83:8:  React Hook useEffect has missing dependencies: 'loadAllPhone' and 'navigate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/views/settings/PaymentMethod.js
  Line 85: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/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/PhoneDetails.js
  Line 91:42:   Expected to return a value in arrow function                                                                                       array-callback-return
  Line 154:33:  Expected to return a value in arrow function                                                                                       array-callback-return
  Line 175: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/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:

  339.88 KB  build/static/js/2.a75ff419.chunk.js
  38.42 KB   build/static/js/main.39000cbd.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

[15-04-2021 16:42:47]:   === DEPLOY COMPLETE ===