简体   繁体   English

Nuxtjs 没有找到这个依赖:regenerator-runtime/runtime.js in./.nuxt/client.js, ./.nuxt/mixins/fetch.client.js

[英]Nuxtjs This dependency was not found: regenerator-runtime/runtime.js in ./.nuxt/client.js, ./.nuxt/mixins/fetch.client.js

I introduced the antd vue component when I created the project, and removed it later, but I got an error when I ran it.我在创建项目的时候引入了antd vue组件,后来去掉了,但是运行的时候报错了。 If I install it again, the error will go away, but I don't want to use this component any more.如果我再次安装它,错误将 go 消失,但我不想再使用这个组件了。 How do I remove it correctly如何正确删除它

npm install regenerator-runtime If there is a problem like this, "TypeError: this.getOptions is not a functionat Object.lessLoader" .Uninstall the current less-loader and install a lower version. npm install regenerator-runtime如果出现这样的问题, “TypeError: this.getOptions is not a functionat Object.lessLoader” 。卸载当前的less-loader并安装较低版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM