繁体   English   中英

类型错误:无法读取未定义的属性“eslint”

[英]TypeError: Cannot read property 'eslint' of undefined

我在github中使用nuxt-community/koa-template时遇到了这个问题,我已经使用了诸如“NPM install”之类的说明,但问题仍然存在。 请给我一些解决方案。

这是因为旧的 eslint 加载器不适用于最新的 nuxt。

不要使用 nuxt-community/koa-template,使用 create-nuxt-app https://github.com/nuxt/create-nuxt-app 它有一个 koa 作为选项,它不会有这个问题

暂无
暂无

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

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