Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-dev-server@3 은 webpack@5 + webpack-cli@4 와 사용할 수 없음 #1

Closed
bbonkr opened this issue Oct 11, 2020 · 0 comments
Closed

Comments

@bbonkr
Copy link
Owner

bbonkr commented Oct 11, 2020

Error: Cannot find module 'webpack-cli/bin/config-yargs'
Require stack:
- D:\repos\convert-file-to-base64-encoded-string\node_modules\webpack-dev-server\bin\webpack-dev-server.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:15)
    at Function.Module._load (internal/modules/cjs/loader.js:835:27)
    at Module.require (internal/modules/cjs/loader.js:1012:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (D:\repos\convert-file-to-base64-encoded-string\node_modules\webpack-dev-server\bin\webpack-dev-server.js:65:1)
    at Module._compile (internal/modules/cjs/loader.js:1123:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:972:32)
    at Function.Module._load (internal/modules/cjs/loader.js:872:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\repos\\convert-file-to-base64-encoded-string\\node_modules\\webpack-dev-server\\bin\\webpack-dev-server.js'
  ]
}

이와 유사한 이슈가 webpack-dev-server issue에 등록되어 있습니다.

webpack-dev-servre가 업데이트되기 전까지 webpack@4 webpack-cli@3 을 사용합니다.

@bbonkr bbonkr closed this as completed in 073abd4 Oct 11, 2020
bbonkr added a commit that referenced this issue Oct 11, 2020
Init Project and Fix #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant