问答详情
源自:3-2 配置vue的jsx写法以及postcss

为什么会报这个错

ERROR in ./node_modules/_css-loader@0.28.9@css-loader!./node_modules/_postcss-loader@2.0.10@postcss-loader/lib?{"sourceMap":true}!./node_modules/_stylus-loader@3.0.1@stylus-loader!./src/assets/styles/test-stylus.styl
Module build failed: Error: Cannot find module 'caniuse-lite'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (E:\workspace\vue-todolist-master\node_modules\_autoprefixer@7.2.5@autoprefixer\lib\supports.js:15:12)
    at Module._compile (module.js:643:30)

提问者:john0619 2018-01-28 01:54

个回答

  • john0619
    2018-01-28 11:40:19

    我已经解决了,安装一下这个module就OK了