npm i 安装后 run dev后的问题
- Dominant language
- Vue
- Stars
- 16.4k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
error in ./src/index.less
Module build failed (from ./node_modules/less-loader/dist/cjs.js):
// https://github.com/ant-design/ant-motion/issues/44
.bezierEasingMixin();
^
Inline JavaScript is not enabled. Is it set in your options?
in /Users/huygo/work_space/just-play/iview-admin/node_modules/iview/src/styles/color/bezierEasing.less (line 110, column 0)
@ ./src/index.less 4:14-216 14:3-18:5 15:22-224
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.2.17:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/index.less and the referenced iView file, node_modules/iview/src/styles/color/bezierEasing.less, especially the reported line 110. Inspect the less-loader build options and reproduce the failure with npm i followed by run dev. Done means the development build completes without the inline-JavaScript error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100