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

Nuxt 添加 Less 报错 TypeError: this.getOptions is not a function at Object.lessLoader #70

Open
xiaotiandada opened this issue Mar 30, 2021 · 0 comments
Labels

Comments

@xiaotiandada
Copy link
Owner

Module build failed (from ./node_modules/less-loader/dist/cjs.js):                                                               friendly-errors 15:45:54
TypeError: this.getOptions is not a function
    at Object.lessLoader (/Users/xiaotian/Code/matataki-editor/node_modules/less-loader/dist/index.js:21:24)

原因:可能版本过高!!?? 🤷‍♂️

当前错误版本:"less-loader": "^8.0.0"
降级后的版本:"less-loader": "^5.0.0"

work

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

No branches or pull requests

1 participant