• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

우분투 빌드 시간이 너무 깁니다.

23.12.01 22:53 작성 조회수 288

0

ubuntu@ip-172-31-45-72:~/TwitterClone-FS-/front$ npm run build

> react-nodebird-front@1.0.0 build
> cross-env ANALYZE=true NODE_ENV=production next build

   Linting and checking validity of types  .. ⨯ ESLint: ESLint configuration in .eslintrc is invalid:   - Unexpected top-level property "parseOptions". 
 ✓ Linting and checking validity of types    
   Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
Webpack Bundle Analyzer saved report to /home/ubuntu/TwitterClone-FS-/front/.next/analyze/nodejs.html

No bundles were parsed. Analyzer will show only original module sizes from stats file.

Webpack Bundle Analyzer saved report to /home/ubuntu/TwitterClone-FS-/front/.next/analyze/edge.html
   Using external babel configuration from /home/ubuntu/TwitterClone-FS-/front/.babelrc
 ⚠ It looks like there is a custom Babel configuration can be removed :
 ⚠ Next.js supports the following features natively: 
 ⚠      - 'styled-components' can be enabled via 'compiler.styledComponents' in 'next.config.js'
 ⚠ For more details configuration options, please refer https://nextjs.org/docs/architecture/nextjs-compiler#supported-features
   Creating an optimized production build  ...

계속 빌드를 진행하고있는데,
⨯ ESLint: ESLint configuration in .eslintrc is invalid: - Unexpected top-level property "parseOptions".
이부분, 통과못해도 계속해서 빌드가 진행되나요!? 아니면, 이부분때문에 지금 계속 빌드를 못하고 있는걸까요?
평균적인 빌드시간을 알고 싶습니다.

답변 2

·

답변을 작성해보세요.

0

김용민님의 프로필

김용민

질문자

2023.12.02

헉... 처음배포해봐서 잘 모르겠는데 아마 t2micro 맞는 것 같습니다!!! 수정하고 한번 다시 처음부터 해보겠습니다 감사합니다 ㅠㅠㅠㅠ

0

혹시 t2micro인가요? t2.small 이상 사용하셔야합니다