问答详情
源自:-

grunt命令报错


grunt

module.js:338

    throw err;

Error: Cannot find module 'grunt-legacy-log-utils'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Module.require (module.js:365:17)

    at require (module.js:384:17)

    at Object.<anonymous> (C:\Users\zhe800\workspace\middle_promotion\src\main\w

ebapp\front_project\node_modules\grunt\node_modules\grunt-legacy-log\index.js:25

:16)

    at Module._compile (module.js:460:26)

    at Object.Module._extensions..js (module.js:478:10)

    at Module.load (module.js:355:32)

    at Function.Module._load (module.js:310:12)

    at Module.require (module.js:365:17)



提问者:lican198088 2015-09-01 21:33

个回答

  • leoskey
    2016-12-16 17:45:19

    删除node_modules文件夹,再npm install一次