ElemeFE / ElemeFE/page-skeleton-webpack-plugin
(node:68542) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'log' of null
Open
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 388
- PR merge metrics
- No merged PRs in 30d
Description
at SkeletonPlugin.outputSkeletonScreen (/node_modules/_page-skeleton-webpack-plugin@0.10.12@page-skeleton-webpack-plugin/src/skeletonPlugin.js:43:17)
报错。不知道为何?看不太懂源码
补充一下:我是微信小程序项目,是用的美团开源框架mpvue来搭建的。可能在项目本身跟html那个插件有冲突。哎
Contributor guide
Research direction
Start by inspecting node_modules/_page-skeleton-webpack-plugin@0.10.12@page-skeleton-webpack-plugin/src/skeletonPlugin.js at line 43 and reproduce the warning in the reported mpvue WeChat mini-program setup. Compare the plugin's assumptions with the project configuration and confirm the result by running the same build without the null-property failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100