请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

配置错误gulp lib

  在构建lib时 出现错误

prdPath:'dist/'

         ^


SyntaxError: Unexpected token ILLEGAL

    at exports.runInThisContext (vm.js:53:16)

    at Module._compile (module.js:373:25)

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

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

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

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

    at require (internal/module.js:12:17)

    at Liftoff.handleArguments (C:\Users\Mac\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:116:3)

    at Liftoff.<anonymous> (C:\Users\Mac\AppData\Roaming\npm\node_modules\gulp\node_modules\._liftoff@2.3.0@liftoff\index.js:198:16)


    at module.exports (C:\Users\Mac\AppData\Roaming\npm\node_modules\gulp\node_modules\._flagged-respawn@0.3.2@flagged-respawn\index.js:17:3)

请问这是什么情况

正在回答 回答被采纳积分+3

1回答

慕雪1613582 2017-04-01 21:34:01

仔细检查一下你的gulpfile.js 文件,应该是有语法错误

0 回复 有任何疑惑可以回复我~

相似问题

登录后可查看更多问答,登录/注册

问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号