lichdu
lichdu
  • 发布:2019-05-31 11:59
  • 更新:2019-08-20 11:33
  • 阅读:1152

getPlatformCss is not a function

分类:uni-app

E:\work\mall-uniapp\mall>npm run dev:h5

> mall@0.1.0 dev:h5 E:\work\mall-uniapp\mall
> cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve

INFO Starting development server...
46% building 300/307 modules 7 active ...h5-vue-style-loader\lib\listToStyles.js(node:10856) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
98% after emitting SizeLimitsPlugin

ERROR Failed to compile with 1 errors 11:42:21 AM

error

getPlatformCss is not a function

2019-05-31 11:59 负责人:无 分享
已邀请:
5***@qq.com

5***@qq.com - 小白白

我今天也遇到这个问题了

  • 5***@qq.com

    把node_modules删了,再安装一边就好了

    2019-08-16 10:25

糖糖护航

糖糖护航

装了几次都还是报这个错

  • 5***@qq.com

    npm 不行就用cnpm,切换用

    2020-03-26 11:47

该问题目前已经被锁定, 无法添加新回复