Vue/vue3+vuex

vue ec2 베포중 unknown disableHostCheck 에러

디비드킴 2022. 8. 25. 19:49

https://github.com/webpack/webpack-dev-server/issues/4142

 

options has an unknown property 'disableHostCheck'. · Issue #4142 · webpack/webpack-dev-server

Bug report Actual Behavior devServer: { port: 3001, disableHostCheck: true, headers:{'Access-Control-Allow-Origin':'*'} }, Expected Behavior don't have error How Do We Reproduce...

github.com

위글을 보고 해결했다

정확히 같은 오류 였다

 disableHostCheck: true,

=>

 allowedHosts: "all",

로변경 해줘야했다