인프런 커뮤니티 질문&답변

Goboo님의 프로필 이미지

작성한 질문수

Vue.js - Django 연동 웹 프로그래밍 (실전편)

뷰 폴더 복사하기

filemanager 추가 및 빌드 오류

작성

·

276

1

filemanager 패키지 설치 후 파일 복사를 위해 빌드시 아래와 같이 오류가 발생 하네요. 

⠙  Building for production...

 WARNING  Compiled with 3 warnings                                                                          5:52:58 PM

 warning  

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  static/css/chunk-vendors.c130b102.css (333 KiB)
  static/js/chunk-vendors.18b5a613.js (248 KiB)

 warning  

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  home (587 KiB)
      static/css/chunk-vendors.c130b102.css
      static/js/chunk-vendors.18b5a613.js
      static/js/home.09c36ef0.js
  post_list (587 KiB)
      static/css/chunk-vendors.c130b102.css
      static/js/chunk-vendors.18b5a613.js
      static/js/post_list.539dce62.js
  post_detail (587 KiB)
      static/css/chunk-vendors.c130b102.css
      static/js/chunk-vendors.18b5a613.js
      static/js/post_detail.479912bc.js


 warning  

webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

  File                                          Size                              Gzipped

  dist/static/js/chunk-vendors.18b5a613.js      247.54 KiB                        81.36 KiB
  dist/static/js/post_detail.479912bc.js        6.09 KiB                          2.36 KiB
  dist/static/js/post_list.539dce62.js          6.07 KiB                          2.35 KiB
  dist/static/js/home.09c36ef0.js               6.07 KiB                          2.35 KiB
  dist/static/css/chunk-vendors.c130b102.css    333.30 KiB                        39.39 KiB

  Images and other types of assets omitted.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
      
[Error: ENOENT: no such file or directory, lstat '/dist/static'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/dist/static'
}
[Error: ENOENT: no such file or directory, lstat '/dist/favicon.ico'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/dist/favicon.ico'
}
[Error: ENOENT: no such file or directory, lstat '/dist/home.html'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/dist/home.html'
}

답변 2

0

김석훈님의 프로필 이미지
김석훈
지식공유자

독자님. 해결되어서 다행입니다.

0

Goboo님의 프로필 이미지
Goboo
질문자

이유는 모르겠으나, 다시 빌드하니 정상 빌드 되고, 해당 백엔드 위치에 복사가 정상적으로 되네요..

Goboo님의 프로필 이미지

작성한 질문수

질문하기