GithubHelp home page GithubHelp logo

Comments (15)

SunshowerC avatar SunshowerC commented on May 17, 2024 3

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

from page-skeleton-webpack-plugin.

HiuYanChong avatar HiuYanChong commented on May 17, 2024

可能是没有配置 html-webpack-plugin,这个插件依赖于它
我在尝试的时候也遇到了和你一样提示的错误,配置了 html-webpack-plugin 就好了

from page-skeleton-webpack-plugin.

SunshowerC avatar SunshowerC commented on May 17, 2024

create-react-app + page-skeleton-webpack-plugin 使用不了 +1,目测是 create-react-app 做了一些*操作导致的这个问题

from page-skeleton-webpack-plugin.

snoopy1412 avatar snoopy1412 commented on May 17, 2024

create-react-app + page-skeleton-webpack-plugin 使用不了 +1,目测是 create-react-app 做了一些*操作导致的这个问题

哈哈,不清楚呢

from page-skeleton-webpack-plugin.

Jocs avatar Jocs commented on May 17, 2024

@weiyu-chen 可以提一个 PR。

from page-skeleton-webpack-plugin.

littlepoolshark avatar littlepoolshark commented on May 17, 2024

@weiyu-chen ,PR提给page-skeleton-webpack-plugin了吗?

from page-skeleton-webpack-plugin.

SunshowerC avatar SunshowerC commented on May 17, 2024

@weiyu-chen ,PR提给page-skeleton-webpack-plugin了吗?

@littlepoolshark 有老哥提了 PR

from page-skeleton-webpack-plugin.

zhangyifei007 avatar zhangyifei007 commented on May 17, 2024

还是会有同样的问题啊,老铁们

from page-skeleton-webpack-plugin.

xujun1986 avatar xujun1986 commented on May 17, 2024

还是会有同样的问题啊,老铁们

+1

from page-skeleton-webpack-plugin.

sfcjs avatar sfcjs commented on May 17, 2024

lj

from page-skeleton-webpack-plugin.

Cloudyttt avatar Cloudyttt commented on May 17, 2024

我也碰到了这个问题,有办法解决么

from page-skeleton-webpack-plugin.

tangshuimei avatar tangshuimei commented on May 17, 2024

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

我降级之后又报错TypeError: self.htmlWebpackPlugin.getHooks is not a function,这个就是要用4.x的,那,想让我咋整

from page-skeleton-webpack-plugin.

refanbanzhang avatar refanbanzhang commented on May 17, 2024

使用create-react-app,也是这个问题,未解决

from page-skeleton-webpack-plugin.

zwqzhang avatar zwqzhang commented on May 17, 2024

这个问题有人解决了吗?

from page-skeleton-webpack-plugin.

baikaifa avatar baikaifa commented on May 17, 2024

我也遇到这个问题了,不知道有人会弄不会

from page-skeleton-webpack-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.