标签:代码 error: anon src lint bar ken img index
手动添加的配置,2个项目OK,还个项目 运行报错
Cannot read property ‘range‘ of null TypeError: Cannot read property ‘range‘ of null at SourceCode.getTokenBefore (/Users/jason/my-project/node_modules/eslint/lib/token-store/index.js:303:17) at checkSpacingBefore (/Users/jason/my-project/node_modules/eslint/lib/rules/template-curly-spacing.js:51:42) at TemplateElement (/Users/jason/my-project/node_modules/eslint/lib/rules/template-curly-spacing.js:116:17) at listeners.(anonymous function).forEach.listener (/Users/jason/my-project/node_modules/eslint/lib/util/safe-emitter.js:47:58)
3个项目eslint的配置包都是相同版本,最后这个报错的解决方案是将
eslint Cannot read property 'range' of null错误( Quasar Doc )$ quasar dev 出错
标签:代码 error: anon src lint bar ken img index
原文地址:https://www.cnblogs.com/mouseleo/p/12110203.html