Cannot read property 'range' of null

vue项目 启动服务问题

百度得  让删node_modules的 

             让用命令清除缓存 

$ rd node_modules
$ npm cache clean
$ npm install
$ npm cache clean // npm cache clean --force 

在我这试了几遍均不生效

问题都有☞出 是eslint相关版本问题  我也不晓得哪个版本是对的

找报错代码 

import('./xxxx/${xxxx}')  这行代码报错

换种写法
var data = './xxxx/${xxxx}'
import(data).then......

    再试解决了

posted @ 2021-01-22 10:51  9102  阅读(638)  评论(0编辑  收藏  举报