为了账号安全,请及时绑定邮箱和手机立即绑定

weexpack编译出错 Cannot find module 'escape-

weexpack编译出错 Cannot find module 'escape-

慕慕森 2018-12-27 14:06:37
weexpack@0.4.2node@7.7.0npm@5.0.4运行 npm run serve出现下面错误ERROR in ./temp?entry=trueModule build failed: Error: Cannot find module 'escape-string-regexp' (While processing preset: "/Users/pengwei/node_modules/babel-preset-es2015/lib/index.js")at Function.Module._resolveFilename (module.js:470:15)at Function.Module._load (module.js:418:25)at Module.require (module.js:498:17)at require (internal/module.js:20:19)at Object.<anonymous> (/Users/pengwei/node_modules/babel-template/node_modules/chalk/index.js:2:26)at Module._compile (module.js:571:32)at Object.Module._extensions..js (module.js:580:10)at Module.load (module.js:488:32)at tryModuleLoad (module.js:447:12)at Function.Module._load (module.js:439:3)@ multi (webpack)-dev-server/client?http://192.168.1.108:8080/web ./temp?entry=true
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1074 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信