vue使用lang=“stylus“报错UnhandledPromiseRejectionWarning: TypeError: loaderContext.getResolve is not a f
报错:UnhandledPromiseRejectionWarning: TypeError: loaderContext.getResolveis not a function环境:"webpack": "^3.6.0","stylus": "^0.54.8","stylus-loader": "^4.3.0",错误原因:stylus-loader或stylus版本不兼容。我的解决办法:解决办法① 轻松版。修改package.json中的版本号,删除node_modules,重新