npm run dev報錯,老師可以幫忙看下嗎
Child html-webpack-plugin for "index.html":
? ? ?1 asset
? ? Entrypoint undefined = index.html
? ? [./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/html-webpack-plugin/default_index.ejs] 376 bytes {0} [built]
? ? [./node_modules/lodash/lodash.js] 527 KiB {0} [built]
? ? [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {0} [built]
這個是我的版本
"webpack": "^4.25.1",
"webpack-dev-server": "^3.1.10"
2019-06-14
解決方法:降低版本 extract-text-webpack-plugin
npm install --save [email protected]
2019-05-10
找到原因了嗎,我也是這個問題,找了很久找不到答案
2018-12-14
Entrypoint undefined = index.html 沒有找到入口的頁面文件,你是不是沒有安裝 html-webpack-plugin 和配置這塊的內容
2018-11-15
好像是因為hot出的問題,加了hot:true就會報錯,刪了就正常