작성
·
1.1K
0
babel.config.js
webpack
package.json
에러로그
ERROR in Error: C:\Users\Administrator\Desktop\sumin\lecture-frontend-dev-env/node_modules/core-js/modules/_classof.js?:4
var TAG = __webpack_require__(/*! ./_wks */ "./node_modules/core-js/modules/_wks.js")('toStringTag'); // ES3 wrong her e
^
TypeError: __webpack_require__(...) is not a function
- _classof.js?:4 eval
[.]/[core-js]/modules/_classof.js?:4:86
- index.html:154 Object../node_modules/core-js/modules/_classof.js
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:154:1
- index.html:22 __webpack_require__
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:22:30
- es6.object.to-string.js?:3 eval
[.]/[core-js]/modules/es6.object.to-string.js?:3:15
- index.html:924 Object../node_modules/core-js/modules/es6.object.to-string.js
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:924:1
- index.html:22 __webpack_require__
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:22:30
- _cof.js?:3 Module.eval
[.]/[core-js]/modules/_cof.js?:3:97
- _cof.js?:12 eval
[.]/[core-js]/modules/_cof.js?:12:30
- index.html:166 Module../node_modules/core-js/modules/_cof.js
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:166:1
- index.html:22 __webpack_require__
C:/Users/Administrator/Desktop/sumin/lecture-frontend-dev-env/src/index.html:22:30
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 1.04 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 1000 bytes {0} [built]
[./node_modules/webpack/buildin/harmony-module.js] (webpack)/buildin/harmony-module.js 631 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 552 bytes {0} [built]
+ 85 hidden modules
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! lecture-frontend-dev-env@1.0.0 build: `webpack --progress`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the lecture-frontend-dev-env@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2021-01-21T13_23_59_787Z-debug.log
구글링을 했는데도 뚜렷한 원인을 잘 모르겠습니다..ㅜㅜ