inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

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

뷰 폴더 복사하기

npm run build 문제

418

juston

작성한 질문수 3

0

npm run serve 를 돌렸더니
아래 와 같이  오류가 뜨고 dist폴더만 삭제가 되네요. 어떻게 해야 하죠?
 
 ERROR  WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using 
a configuration object that does not match the API schema.
 - configuration has an unknown property 'Plugins'. 
These properties are valid:
   object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, externals?, infrastructureLogging?, loader?, mode?, module?, name?, 
node?, optimization?, output?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, serve?, stats?, target?, watch?, watchOptions? }  
   For typos: please correct them.
   For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
     Loaders should be updated to allow passing options via loader options in module.rules.
     Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader: 
     plugins: [
       new webpack.LoaderOptionsPlugin({
         // test: /\.xxx$/, // may apply this only for some modules
         options: {
           Plugins: …
         }
       })
     ]

django vuejs Vuetify

답변 1

0

김석훈

안녕하세요. 독자님.

에러 메시지에 아래 내용이 있군요.

- configuration has an unknown property 'Plugins'.

Plugins 가 아니라 plugins, 오타가 아닐까요 ?

 

참고로, VS Code 에서 두개 파일을 비교할 수 있습니다.

두개 파일 선택 후 > 마우스 우측 클릭 > Compare Selected 클릭. 하면 됩니다.

문제가 있을 때 제공된 소스와 비교해보면 도움이 될 듯 합니다.

감사합니다.

최신 현행화 영상 Play 안됩니다.

0

324

2

뷰 폴더 복사하기 configureWebpack 에러

1

436

2

webpack devserver 에러

0

301

2

VUE에서 라우터를 쓰면 django랑 연동이 안되나요?

0

295

1

배포 관련 질문입니다

0

266

1

formdata 와 json responser

0

375

1

axios url 질문이 있습니다

0

275

1

질문

0

252

1

질문입니다 !!

0

244

2

Post model

0

253

1

taggit

0

314

1

질문입니다 !!

0

182

1

질문이 있습니다.. !!

0

232

1

context 변수

0

232

1

AUTH_USER_MODEL

0

206

1

npm run serve 후 빈페이지

0

767

1

build 오류

0

578

2

axios

0

269

1

filemanager webpack plugin

0

372

2

vue 버전

0

315

2

row 행 클릭 오류

0

423

2

post-list.html - test 화면표시

0

383

1

장고 모델의 ForeignKey 관련 해서

0

275

1

비밀번호 변경기능 만들기에서 비밀번호 변경은 되는데 에러가 나요

0

346

1