Skip to content
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

vue引入最新版2.4.1打包时报错,怎么解决啊? #870

Open
wangdw1984 opened this issue Nov 9, 2020 · 0 comments
Open

vue引入最新版2.4.1打包时报错,怎么解决啊? #870

wangdw1984 opened this issue Nov 9, 2020 · 0 comments

Comments

@wangdw1984
Copy link

ERROR in ./node_modules/css-loader??ref--6-2!./node_modules/weui/dist/style/weui.css
Module build failed: TypeError: Cannot read property 'toFixed' of undefined
at strongRound (D:\workspace\hzzbs\webpack\node_modules\svgo\plugins\convertPathData.js:766:21)
at D:\workspace\hzzbs\webpack\node_modules\svgo\plugins\convertPathData.js:424:17
at Array.filter ()
at filters (D:\workspace\hzzbs\webpack\node_modules\svgo\plugins\convertPathData.js:272:17)
at Object.exports.fn (D:\workspace\hzzbs\webpack\node_modules\svgo\plugins\convertPathData.js:79:20)
at D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:59:45
at Array.filter ()
at monkeys (D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:46:39)
at D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:66:17
at Array.filter ()
at monkeys (D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:46:39)
at perItem (D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:77:12)
at D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:18:24
at Array.forEach ()
at module.exports (D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo\plugins.js:14:13)
at D:\workspace\hzzbs\webpack\node_modules\svgo\lib\svgo.js:63:17
@ ./node_modules/weui/dist/style/weui.css 4:14-76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant