호스팅서버에

  1. node v11.2.0 설치
  2. yarn 1.12.3 설치
  3. mongodb 4.3.18 설치
  4. redis 설치

front-end 에서 yarn dev하면 아래와 같은 에러 코드를 뿌려요.

./src/index.js
Line 8: 'social' is defined but never used no-unused-vars

./src/lib/socket.js
Line 25: 'decompress' is defined but never used no-unused-vars

./src/lib/utils.js
Line 13: 'diff' is assigned a value but never used no-unused-vars
Line 14: 'start' is defined but never used no-unused-vars

./src/store/modules/report.js
Line 5: 'List' is defined but never used no-unused-vars

./src/containers/CoinMainContainer.js
Line 3: 'bindActionCreators' is defined but never used no-unused-vars

./src/containers/Profit.js
Line 4: 'Actions' is defined but never used no-unused-vars

./src/containers/RewardWalletFormContainer.js
Line 5: 'waitUntil' is defined but never used no-unused-vars
Line 9: 'Record' is defined but never used no-unused-vars

./src/containers/SocketSubscriber.js
Line 1: 'React' is defined but never used no-unused-vars

./src/containers/TradeIndexOptionsContainer.js
Line 53: 'TradeActions' is assigned a value but never used no-unused-vars

./src/containers/UserLoader.js
Line 1: 'React' is defined but never used no-unused-vars

./src/containers/TradeSectionContainer.js
Line 10: 'limitDigit' is defined but never used no-unused-vars

./src/components/molecules/BitcoinInfoCard/BitcoinInfoCard.js
Line 5: 'PinIcon' is defined but never used no-unused-vars
Line 6: 'getCurrency' is defined but never used no-unused-vars
Line 7: 'scuize' is defined but never used no-unused-vars
Line 24: 'currencyKey' is assigned a value but never used no-unused-vars
Line 62: 'volume' is assigned a value but never used no-unused-vars
Line 65: 'onTogglePin' is assigned a value but never used no-unused-vars
Line 66: 'pinned' is assigned a value but never used no-unused-vars

./src/components/molecules/TradeIndexOptions/TradeIndexOptions.js
Line 4: 'PinIcon' is defined but never used no-unused-vars

./src/components/molecules/RateInfoCard/RateInfoCard.js
Line 6: 'getCurrency' is defined but never used no-unused-vars
Line 7: 'scuize' is defined but never used no-unused-vars

./src/components/atoms/BgColor/BgColor.js
Line 5: 'cx' is assigned a value but never used no-unused-vars

./src/components/atoms/ResponsiveAd/ResponsiveAd.js
Line 4: 'debounce' is defined but never used no-unused-vars
Line 6: 'cx' is assigned a value but never used no-unused-vars
Line 59: Unreachable code no-unreachable

./src/components/molecules/ProfitChart/ProfitChart.js
Line 5: 'SpinnerBlock' is defined but never used no-unused-vars

./src/components/organisms/Header/Header.js
Line 4: 'Hamburger' is defined but never used no-unused-vars

./src/components/pages/RankingPage/RankingPage.js
Line 4: 'PolyBackground' is defined but never used no-unused-vars

./src/components/pages/RegisterPage/RegisterPage.js
Line 13: 'cx' is assigned a value but never used no-unused-vars

./src/components/pages/TradeDetailSubpage/TradeDetailSubpage.js
Line 8: 'cx' is assigned a value but never used no-unused-vars

./src/components/atoms/CoinIcon/CoinIcon.js
Line 6: 'cx' is assigned a value but never used no-unused-vars

./src/components/pages/WalletSubpage/WalletSubpage.js
Line 4: 'Wallets' is defined but never used no-unused-vars

./src/components/molecules/TradeHistoryTable/TradeHistoryTable.js
Line 1: 'Component' is defined but never used no-unused-vars
Line 9: 'List' is defined but never used no-unused-vars

./src/components/pages/HomePage/HomePage.js
Line 2: 'CoinMain' is defined but never used no-unused-vars
Line 2: 'Card' is defined but never used no-unused-vars
Line 7: 'MoreIcon' is defined but never used no-unused-vars

./src/components/pages/TermsPage/TermsPage.js
Line 4: 'PolyBackground' is defined but never used no-unused-vars
Line 4: 'ResponsiveAd' is defined but never used no-unused-vars
Line 5: 'RankingContainer' is defined but never used no-unused-vars
Line 6: 'Helmet' is defined but never used no-unused-vars
Line 7: 'Link' is defined but never used no-unused-vars
Line 12: 'type' is assigned a value but never used no-unused-vars

./src/components/molecules/TradeChart/TradeChart.js
Line 397: 'empty' is assigned a value but never used no-unused-vars

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

호스팅서버에 올릴때

  • bitimulate Server 실행하고 Front는 어떻게 올리고 실행하나요?

호스팅서버에 올리고,
백엔드 yarn dev
프론트 yarn start 실행하면 되나요?