首页 新闻 会员 周边 捐助

Hbuilder运行autoprefixer外部工具时报错

0
[待解决问题]

internal/modules/cjs/loader.js:797
throw err;
^

Error: Cannot find module 'postcss'
Require stack:

  • C:\Users\ASUS\AppData\Roaming\npm\node_modules\postcss-cli\index.js
  • C:\Users\ASUS\AppData\Roaming\npm\node_modules\postcss-cli\bin\postcss
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
    at Function.Module._load (internal/modules/cjs/loader.js:687:27)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\Users\ASUS\AppData\Roaming\npm\node_modules\postcss-cli\index.js:13:17)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\ASUS\AppData\Roaming\npm\node_modules\postcss-cli\index.js',
    'C:\Users\ASUS\AppData\Roaming\npm\node_modules\postcss-cli\bin\postcss'
    ]
    }
问题补充:

央爸央妈的主页 央爸央妈 | 菜鸟二级 | 园豆:204
提问于:2020-09-25 20:09
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册