-
Notifications
You must be signed in to change notification settings - Fork 395
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
Cannot read property 'tapAsync' of undefined #33
Comments
可能是没有配置 html-webpack-plugin,这个插件依赖于它 |
create-react-app + page-skeleton-webpack-plugin 使用不了 +1,目测是 create-react-app 做了一些骚操作导致的这个问题 |
哈哈,不清楚呢 |
定位了一下问题,发现是 page-skeleton-webpack-plugin 依赖 html-webpack-plugin 3.x, 而 create-react-app2.0 依赖 html-webpack-plugin 4.x , 所以就不兼容,需要把create-react-app2.0 降级 html-webpack-plugin 到 3.x,或者让page-skeleton-webpack-plugin 支持html-webpack-plugin 4.x 。 @snoopy1412 |
@weiyu-chen 可以提一个 PR。 |
@weiyu-chen ,PR提给page-skeleton-webpack-plugin了吗? |
@littlepoolshark 有老哥提了 PR |
还是会有同样的问题啊,老铁们 |
+1 |
lj |
我也碰到了这个问题,有办法解决么 |
我降级之后又报错TypeError: self.htmlWebpackPlugin.getHooks is not a function,这个就是要用4.x的,那,想让我咋整 |
使用create-react-app,也是这个问题,未解决 |
这个问题有人解决了吗? |
我也遇到这个问题了,不知道有人会弄不会 |
Description
使用create-react-app 新建的项目,然后尝试了一下,报了Cannot read property 'tapAsync' of undefined 的错误。
还是说,需要什么特别注意的设置?
The text was updated successfully, but these errors were encountered: