mpvue——Error: Cannot find module 'escape-string-regexp'

Posted wangyang0210

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mpvue——Error: Cannot find module 'escape-string-regexp'相关的知识,希望对你有一定的参考价值。

报错

$ cnpm run build

> [email protected] build D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ
> node build/build.js wx

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

Error: Cannot find module ‘escape-string-regexp‘
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ\node_modules\[email protected]@chalk\index.js:2:28)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node build/build.js wx`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator.KING\AppData\Roaming\npm-cache\_logs\2019-04-24T06_18_50_500Z-debug.log

 

解决

重新安装依赖

$ cnpm install
platform unsupported less
[email protected][email protected][email protected][email protected][email protected]^1.2.7 Package require os(darwin) not compatible with your platform(win32) [[email protected]^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(win32) √ Installed 57 packages √ Linked 738 latest versions √ Run 1 scripts peerDependencies link [email protected]5.5.2 in D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ\node_modules\[email protected]@ajv-keywords unmet with D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ\node_modules\ajv(6.10.0) peerDependencies WARNING mpvue[email protected][email protected]^13.0.4 requires a peer of [email protected]^2.0.0 but none was installed deprecate css[email protected][email protected][email protected][email protected]^1.7.6 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. deprecate [email protected]4.19.1 › [email protected][email protected][email protected]^0.3.1 CircularJSON is in maintenance only, flatted is its successor. deprecate px2rpx[email protected][email protected][email protected][email protected]^3.0.5 please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js deprecate px2rpx[email protected][email protected][email protected][email protected][email protected]^1.1.0 This module relies on Node.js‘s internals and will break at some point. Do not use it, and update to [email protected] deprecate [email protected][email protected]^5.2.0 Switch to the `bfj` package for fixes and new features! Recently updated (since 2019-04-17): 5 packages (detail see file D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ\node_modules\.recently_updates.txt) Today: → [email protected][email protected][email protected]^1.0.30000844(1.0.30000963) (12:32:35) → [email protected][email protected][email protected][email protected]^1.0.30000634(1.0.30000963) (12:17:26) √ All packages installed (898 packages installed from npm registry, used 47s(network 46s), speed 38.03kB/s, json 795(1.71MB), tarball 0B)

 

编译

$ cnpm run build

> [email protected] build D:\wamp\www\wxsmallsoft\mini-0212\mpvueQQ
> node build/build.js wx

Hash: 1dbbbdd7b8577a19846e
Version: webpack 3.12.0
Time: 5576ms
                                        Asset       Size  Chunks             Chunk Names
                  static/vant/icon/index.wxml  532 bytes          [emitted]
                    /components/card.vue.wxml  140 bytes          [emitted]
                      pages\counter\main.wxml  105 bytes          [emitted]
                        pages\index\main.wxml  103 bytes          [emitted]
                   /pages/logs/index.vue.wxml  787 bytes          [emitted]
                        components/slots.wxml   43 bytes          [emitted]
                         pages\logs\main.wxml  102 bytes          [emitted]
                  /pages/index/index.vue.wxml    1.63 kB          [emitted]
                             common/vendor.js    59.8 kB       0  [emitted]  common/vendor
                           pages\logs\main.js    1.99 kB       1  [emitted]  pages\logs\main
                        pages\counter\main.js    1.24 kB       2  [emitted]  pages\counter\main
                          pages\index\main.js     2.7 kB       3  [emitted]  pages\index\main
                                       app.js  824 bytes       4  [emitted]  app
                           common/manifest.js  880 bytes       5  [emitted]  common/manifest
                                     app.wxss  146 bytes       4  [emitted]  app
                      pages\counter\main.wxss  150 bytes       2  [emitted]  pages\counter\main
                        pages\index\main.wxss  663 bytes       3  [emitted]  pages\index\main
                         pages\logs\main.wxss   82 bytes       1  [emitted]  pages\logs\main
                           common/vendor.wxss   20 bytes       0  [emitted]  common/vendor
                                     app.json    1.12 kB          [emitted]
                         pages/logs/main.json   53 bytes          [emitted]
                       static/images/user.png    7.11 kB          [emitted]
                  static/tabs/home-active.png  614 bytes          [emitted]
                static/tabs/orders-active.png  141 bytes          [emitted]
            static/vant/action-sheet/index.js    1.02 kB          [emitted]
                       static/tabs/orders.png  133 bytes          [emitted]
          static/vant/action-sheet/index.d.ts   12 bytes          [emitted]
          static/vant/action-sheet/index.json  166 bytes          [emitted]
          static/vant/action-sheet/index.wxml    1.57 kB          [emitted]
          static/vant/action-sheet/index.wxss  888 bytes          [emitted]
                  static/vant/area/index.d.ts   12 bytes          [emitted]
                    static/vant/area/index.js     5.4 kB          [emitted]
                  static/vant/area/index.wxml  517 bytes          [emitted]
                  static/vant/area/index.json   94 bytes          [emitted]
                  static/vant/area/index.wxss   31 bytes          [emitted]
           static/vant/badge-group/index.d.ts   12 bytes          [emitted]
             static/vant/badge-group/index.js    1.25 kB          [emitted]
           static/vant/badge-group/index.wxml   91 bytes          [emitted]
           static/vant/badge-group/index.json   27 bytes          [emitted]
                 static/vant/badge/index.d.ts   12 bytes          [emitted]
                         static/tabs/home.png  474 bytes          [emitted]
           static/vant/badge-group/index.wxss   59 bytes          [emitted]
                 static/vant/badge/index.wxml  400 bytes          [emitted]
                   static/vant/badge/index.js  756 bytes          [emitted]
                 static/vant/badge/index.wxss  596 bytes          [emitted]
                static/vant/button/index.d.ts   12 bytes          [emitted]
                  static/vant/button/index.js  916 bytes          [emitted]
                static/vant/button/index.json   94 bytes          [emitted]
                static/vant/button/index.wxml    1.28 kB          [emitted]
                static/vant/button/index.wxss    2.12 kB          [emitted]
                  static/vant/card/index.d.ts   12 bytes          [emitted]
                    static/vant/card/index.js  862 bytes          [emitted]
                 static/vant/badge/index.json   90 bytes          [emitted]
                  static/vant/card/index.wxml    1.45 kB          [emitted]
            static/vant/cell-group/index.d.ts   12 bytes          [emitted]
                  static/vant/card/index.json   88 bytes          [emitted]
              static/vant/cell-group/index.js  204 bytes          [emitted]
                  static/vant/card/index.wxss    1.09 kB          [emitted]
            static/vant/cell-group/index.json   25 bytes          [emitted]
            static/vant/cell-group/index.wxss  119 bytes          [emitted]
            static/vant/cell-group/index.wxml  202 bytes          [emitted]
                    static/vant/cell/index.js  875 bytes          [emitted]
                  static/vant/cell/index.json   88 bytes          [emitted]
                  static/vant/cell/index.wxss    1.58 kB          [emitted]
                  static/vant/cell/index.wxml    1.39 kB          [emitted]
        static/vant/checkbox-group/index.d.ts   12 bytes          [emitted]
        static/vant/checkbox-group/index.json   90 bytes          [emitted]
          static/vant/checkbox-group/index.js    1.04 kB          [emitted]
        static/vant/checkbox-group/index.wxml   10 bytes          [emitted]
        static/vant/checkbox-group/index.wxss   31 bytes          [emitted]
                  static/vant/cell/index.d.ts   12 bytes          [emitted]
                static/vant/checkbox/index.js    2.15 kB          [emitted]
              static/vant/checkbox/index.wxml  721 bytes          [emitted]
              static/vant/checkbox/index.json   90 bytes          [emitted]
              static/vant/checkbox/index.wxss  842 bytes          [emitted]
                     static/vant/col/index.js  565 bytes          [emitted]
                   static/vant/col/index.d.ts   12 bytes          [emitted]
                   static/vant/col/index.json   27 bytes          [emitted]
                   static/vant/col/index.wxml  206 bytes          [emitted]
                   static/vant/col/index.wxss    1.77 kB          [emitted]
         static/vant/collapse-item/index.d.ts   12 bytes          [emitted]
         static/vant/collapse-item/index.json   90 bytes          [emitted]
              static/vant/checkbox/index.d.ts   12 bytes          [emitted]
         static/vant/collapse-item/index.wxml    1.12 kB          [emitted]
         static/vant/collapse-item/index.wxss  702 bytes          [emitted]
              static/vant/collapse/index.d.ts   12 bytes          [emitted]
                static/vant/collapse/index.js    1.35 kB          [emitted]
              static/vant/collapse/index.wxml  110 bytes          [emitted]
              static/vant/collapse/index.json   27 bytes          [emitted]
              static/vant/collapse/index.wxss   31 bytes          [emitted]
                static/vant/common/color.d.ts  117 bytes          [emitted]
                  static/vant/common/color.js   93 bytes          [emitted]
            static/vant/common/component.d.ts  246 bytes          [emitted]
                static/vant/common/index.wxss    1.24 kB          [emitted]
              static/vant/common/component.js     1.5 kB          [emitted]
       static/vant/common/style/clearfix.wxss   56 bytes          [emitted]
       static/vant/common/style/hairline.wxss  884 bytes          [emitted]
       static/vant/common/style/ellipsis.wxss  297 bytes          [emitted]
           static/vant/collapse-item/index.js    2.95 kB          [emitted]
static/vant/common/style/mixins/clearfix.wxss    0 bytes          [emitted]
static/vant/common/style/mixins/hairline.wxss    0 bytes          [emitted]
            static/vant/common/style/var.wxss    0 bytes          [emitted]
                static/vant/common/utils.d.ts  252 bytes          [emitted]
                  static/vant/common/utils.js  391 bytes          [emitted]
       static/vant/datetime-picker/index.d.ts   12 bytes          [emitted]
       static/vant/datetime-picker/index.json   94 bytes          [emitted]
       static/vant/datetime-picker/index.wxss   31 bytes          [emitted]
               static/vant/dialog/dialog.d.ts     1.3 kB          [emitted]
static/vant/common/style/mixins/ellipsis.wxss    0 bytes          [emitted]
                 static/vant/dialog/dialog.js    1.73 kB          [emitted]
                static/vant/dialog/index.d.ts   12 bytes          [emitted]
                  static/vant/dialog/index.js    2.53 kB          [emitted]
                static/vant/dialog/index.json  130 bytes          [emitted]
                static/vant/dialog/index.wxml    1.94 kB          [emitted]
                static/vant/dialog/index.wxss    1.01 kB          [emitted]
                 static/vant/field/index.d.ts   12 bytes          [emitted]
                   static/vant/field/index.js     3.7 kB          [emitted]
                 static/vant/field/index.json  122 bytes          [emitted]
       static/vant/datetime-picker/index.wxml  486 bytes          [emitted]
                 static/vant/field/index.wxml    2.92 kB          [emitted]
         static/vant/datetime-picker/index.js    10.2 kB          [emitted]
     static/vant/goods-action-button/index.js  570 bytes          [emitted]
   static/vant/goods-action-button/index.d.ts   12 bytes          [emitted]
                 static/vant/field/index.wxss     1.4 kB          [emitted]
   static/vant/goods-action-button/index.json   94 bytes          [emitted]
   static/vant/goods-action-button/index.wxml  763 bytes          [emitted]
   static/vant/goods-action-button/index.wxss   59 bytes          [emitted]
     static/vant/goods-action-icon/index.d.ts   12 bytes          [emitted]
       static/vant/goods-action-icon/index.js  575 bytes          [emitted]
     static/vant/goods-action-icon/index.json  128 bytes          [emitted]
     static/vant/goods-action-icon/index.wxml    1.03 kB          [emitted]
     static/vant/goods-action-icon/index.wxss  371 bytes          [emitted]
            static/vant/goods-action/index.js  151 bytes          [emitted]
          static/vant/goods-action/index.d.ts   12 bytes          [emitted]
          static/vant/goods-action/index.json   27 bytes          [emitted]
          static/vant/goods-action/index.wxss  188 bytes          [emitted]
          static/vant/goods-action/index.wxml  175 bytes          [emitted]
                  static/vant/icon/index.d.ts   12 bytes          [emitted]
                    static/vant/icon/index.js  401 bytes          [emitted]
                  static/vant/icon/index.json   90 bytes          [emitted]
                  static/vant/info/index.d.ts   12 bytes          [emitted]
                    static/vant/info/index.js  147 bytes          [emitted]
                  static/vant/info/index.json   27 bytes          [emitted]
                  static/vant/info/index.wxml  120 bytes          [emitted]
                  static/vant/info/index.wxss  454 bytes          [emitted]
               static/vant/loading/index.d.ts   12 bytes          [emitted]
                 static/vant/loading/index.js  353 bytes          [emitted]
               static/vant/loading/index.json   25 bytes          [emitted]
               static/vant/loading/index.wxml  369 bytes          [emitted]
               static/vant/loading/index.wxss    2.28 kB          [emitted]
                static/vant/mixins/basic.d.ts   35 bytes          [emitted]
                  static/vant/mixins/basic.js  705 bytes          [emitted]
               static/vant/mixins/button.d.ts   36 bytes          [emitted]
                 static/vant/mixins/button.js  460 bytes          [emitted]
                 static/vant/mixins/link.d.ts   34 bytes          [emitted]
                   static/vant/mixins/link.js  381 bytes          [emitted]
      static/vant/mixins/observer/behavior.js    1.35 kB          [emitted]
       static/vant/mixins/observer/index.d.ts   72 bytes          [emitted]
    static/vant/mixins/observer/behavior.d.ts   38 bytes          [emitted]
         static/vant/mixins/observer/index.js  904 bytes          [emitted]
       static/vant/mixins/observer/props.d.ts   57 bytes          [emitted]
         static/vant/mixins/observer/props.js  617 bytes          [emitted]
            static/vant/mixins/safe-area.d.ts  161 bytes          [emitted]
              static/vant/mixins/open-type.js  699 bytes          [emitted]
                /pages/counter/index.vue.wxml  430 bytes          [emitted]
              static/vant/mixins/safe-area.js    1.23 kB          [emitted]
                static/vant/mixins/touch.d.ts   35 bytes          [emitted]
                  static/vant/mixins/touch.js  916 bytes          [emitted]
           static/vant/mixins/transition.d.ts   71 bytes          [emitted]
             static/vant/mixins/transition.js    3.36 kB          [emitted]
               static/vant/nav-bar/index.d.ts   12 bytes          [emitted]
               static/vant/nav-bar/index.json   90 bytes          [emitted]
            static/vant/mixins/open-type.d.ts   38 bytes          [emitted]
               static/vant/nav-bar/index.wxml    1.23 kB          [emitted]
                 static/vant/nav-bar/index.js  705 bytes          [emitted]
              static/vant/notice-bar/index.js    3.61 kB          [emitted]
               static/vant/nav-bar/index.wxss  740 bytes          [emitted]
            static/vant/notice-bar/index.json   88 bytes          [emitted]
            static/vant/notice-bar/index.wxml  884 bytes          [emitted]
            static/vant/notice-bar/index.wxss  678 bytes          [emitted]
                static/vant/notify/index.d.ts   12 bytes          [emitted]
            static/vant/notice-bar/index.d.ts   12 bytes          [emitted]
                static/vant/notify/index.json  102 bytes          [emitted]
                static/vant/notify/index.wxml  347 bytes          [emitted]
                static/vant/notify/index.wxss  219 bytes          [emitted]
               static/vant/notify/notify.d.ts  308 bytes          [emitted]
                 static/vant/notify/notify.js  767 bytes          [emitted]
                  static/vant/notify/index.js    1.11 kB          [emitted]
                 static/vant/overlay/index.js  493 bytes          [emitted]
               static/vant/overlay/index.json  102 bytes          [emitted]
               static/vant/overlay/index.wxml  266 bytes          [emitted]
               static/vant/overlay/index.wxss   89 bytes          [emitted]
                 static/vant/panel/index.d.ts   12 bytes          [emitted]
                 static/vant/panel/index.json   90 bytes          [emitted]
                   static/vant/panel/index.js  249 bytes          [emitted]
                 static/vant/panel/index.wxml  521 bytes          [emitted]
               static/vant/overlay/index.d.ts   12 bytes          [emitted]
                 static/vant/panel/index.wxss  131 bytes          [emitted]
           static/vant/picker-column/index.js    4.33 kB          [emitted]
         static/vant/picker-column/index.json   25 bytes          [emitted]
         static/vant/picker-column/index.wxml    1.03 kB          [emitted]
         static/vant/picker-column/index.wxss  257 bytes          [emitted]
                  static/vant/picker/index.js    4.91 kB          [emitted]
                static/vant/picker/index.json  140 bytes          [emitted]
         static/vant/picker-column/index.d.ts   12 bytes          [emitted]
                static/vant/picker/index.wxml    1.76 kB          [emitted]
                static/vant/picker/index.wxss    1.14 kB          [emitted]
               static/vant/picker/shared.d.ts  503 bytes          [emitted]
                 static/vant/picker/shared.js  409 bytes          [emitted]
                 static/vant/popup/index.d.ts   12 bytes          [emitted]
                   static/vant/popup/index.js     1.5 kB          [emitted]
                 static/vant/popup/index.json   96 bytes          [emitted]
                 static/vant/popup/index.wxml  778 bytes          [emitted]
              static/vant/progress/index.d.ts   12 bytes          [emitted]
                static/vant/picker/index.d.ts   12 bytes          [emitted]
                static/vant/progress/index.js    1.86 kB          [emitted]
                 static/vant/popup/index.wxss    2.52 kB          [emitted]
              static/vant/progress/index.json   27 bytes          [emitted]
                  static/vant/icon/index.wxss    9.83 kB          [emitted]
              static/vant/progress/index.wxml  365 bytes          [emitted]
              static/vant/progress/index.wxss  570 bytes          [emitted]
           static/vant/radio-group/index.d.ts   12 bytes          [emitted]
             static/vant/radio-group/index.js  936 bytes          [emitted]
           static/vant/radio-group/index.wxml   10 bytes          [emitted]
           static/vant/radio-group/index.wxss   31 bytes          [emitted]
                   static/vant/radio/index.js  910 bytes          [emitted]
                 static/vant/radio/index.d.ts   12 bytes          [emitted]
                 static/vant/radio/index.json   90 bytes          [emitted]
                 static/vant/radio/index.wxml  804 bytes          [emitted]
                 static/vant/radio/index.wxss  695 bytes          [emitted]
                  static/vant/rate/index.d.ts   12 bytes          [emitted]
                    static/vant/rate/index.js    2.21 kB          [emitted]
                  static/vant/rate/index.json   90 bytes          [emitted]
                  static/vant/rate/index.wxml  401 bytes          [emitted]
                  static/vant/rate/index.wxss  142 bytes          [emitted]
                   static/vant/row/index.d.ts   12 bytes          [emitted]
                     static/vant/row/index.js  943 bytes          [emitted]
                   static/vant/row/index.json   27 bytes          [emitted]
                   static/vant/row/index.wxss   82 bytes          [emitted]
           static/vant/radio-group/index.json   90 bytes          [emitted]
                   static/vant/row/index.wxml   78 bytes          [emitted]
                static/vant/search/index.d.ts   12 bytes          [emitted]
                  static/vant/search/index.js    1.32 kB          [emitted]
                static/vant/search/index.wxml    1.45 kB          [emitted]
                static/vant/search/index.json  126 bytes          [emitted]
                static/vant/search/index.wxss  883 bytes          [emitted]
                static/vant/slider/index.d.ts   12 bytes          [emitted]
                static/vant/slider/index.json   27 bytes          [emitted]
                static/vant/slider/index.wxml  736 bytes          [emitted]
                static/vant/slider/index.wxss  583 bytes          [emitted]
               static/vant/stepper/index.d.ts   12 bytes          [emitted]
                 static/vant/stepper/index.js    2.65 kB          [emitted]
               static/vant/stepper/index.json   25 bytes          [emitted]
               static/vant/stepper/index.wxml  884 bytes          [emitted]
               static/vant/stepper/index.wxss    1.64 kB          [emitted]
                 static/vant/steps/index.d.ts   12 bytes          [emitted]
                   static/vant/steps/index.js  392 bytes          [emitted]
                 static/vant/steps/index.json   90 bytes          [emitted]
                 static/vant/steps/index.wxml    1.21 kB          [emitted]
                 static/vant/steps/index.wxss     2.6 kB          [emitted]
              static/vant/submit-bar/index.js    1.17 kB          [emitted]
            static/vant/submit-bar/index.d.ts   12 bytes          [emitted]
            static/vant/submit-bar/index.json   94 bytes          [emitted]
                  static/vant/slider/index.js    2.51 kB          [emitted]
            static/vant/submit-bar/index.wxml  997 bytes          [emitted]
            static/vant/swipe-cell/index.d.ts   12 bytes          [emitted]
              static/vant/swipe-cell/index.js    3.44 kB          [emitted]
            static/vant/swipe-cell/index.json   27 bytes          [emitted]
            static/vant/swipe-cell/index.wxml  608 bytes          [emitted]
           static/vant/switch-cell/index.d.ts   12 bytes          [emitted]
            static/vant/swipe-cell/index.wxss  368 bytes          [emitted]
             static/vant/switch-cell/index.js  866 bytes          [emitted]
           static/vant/switch-cell/index.json  128 bytes          [emitted]
            static/vant/submit-bar/index.wxss  685 bytes          [emitted]
           static/vant/switch-cell/index.wxss  130 bytes          [emitted]
                  static/vant/switch/index.js    1.14 kB          [emitted]
           static/vant/switch-cell/index.wxml  484 bytes          [emitted]
                static/vant/switch/index.json   96 bytes          [emitted]
                static/vant/switch/index.wxss  687 bytes          [emitted]
                static/vant/switch/index.d.ts   12 bytes          [emitted]
                   static/vant/tab/index.d.ts   12 bytes          [emitted]
                static/vant/switch/index.wxml  478 bytes          [emitted]
                     static/vant/tab/index.js  773 bytes          [emitted]
                   static/vant/tab/index.wxss  170 bytes          [emitted]
           static/vant/tabbar-item/index.d.ts   12 bytes          [emitted]
                   static/vant/tab/index.wxml  304 bytes          [emitted]
           static/vant/tabbar-item/index.json  124 bytes          [emitted]
             static/vant/tabbar-item/index.js  745 bytes          [emitted]
           static/vant/tabbar-item/index.wxml  738 bytes          [emitted]
           static/vant/tabbar-item/index.wxss  639 bytes          [emitted]
                static/vant/tabbar/index.d.ts   12 bytes          [emitted]
                  static/vant/tabbar/index.js     1.8 kB          [emitted]
                static/vant/tabbar/index.json   27 bytes          [emitted]
                static/vant/tabbar/index.wxml  258 bytes          [emitted]
                static/vant/tabbar/index.wxss  210 bytes          [emitted]
                  static/vant/tabs/index.d.ts   12 bytes          [emitted]
                  static/vant/tabs/index.json   90 bytes          [emitted]
                  static/vant/tabs/index.wxss    1.74 kB          [emitted]
                  static/vant/tabs/index.wxml    2.07 kB          [emitted]
                   static/vant/tag/index.d.ts   12 bytes          [emitted]
                   static/vant/tag/index.json   25 bytes          [emitted]
                     static/vant/tag/index.js  891 bytes          [emitted]
                   static/vant/tag/index.wxml  226 bytes          [emitted]
                   static/vant/tag/index.wxss  456 bytes          [emitted]
                   static/vant/tab/index.json   25 bytes          [emitted]
                   static/vant/toast/index.js  628 bytes          [emitted]
                 static/vant/toast/index.d.ts   12 bytes          [emitted]
                 static/vant/toast/index.wxml  900 bytes          [emitted]
                 static/vant/toast/index.wxss  968 bytes          [emitted]
                   static/vant/toast/toast.js    1.98 kB          [emitted]
                 static/vant/toast/toast.d.ts  868 bytes          [emitted]
            static/vant/transition/index.d.ts   12 bytes          [emitted]
            static/vant/transition/index.json   25 bytes          [emitted]
                 static/vant/toast/index.json  216 bytes          [emitted]
              static/vant/transition/index.js  347 bytes          [emitted]
            static/vant/transition/index.wxml  313 bytes          [emitted]
            static/vant/transition/index.wxss    1.89 kB          [emitted]
           static/vant/tree-select/index.d.ts   12 bytes          [emitted]
             static/vant/tree-select/index.js    2.56 kB          [emitted]
                    static/vant/tabs/index.js    10.2 kB          [emitted]
           static/vant/tree-select/index.json  124 bytes          [emitted]
           static/vant/tree-select/index.wxml    1.35 kB          [emitted]
           static/vant/tree-select/index.wxss  942 bytes          [emitted]
                    static/vant/wxs/array.wxs  117 bytes          [emitted]
                      static/vant/wxs/bem.wxs  826 bytes          [emitted]
                   static/vant/wxs/object.wxs  262 bytes          [emitted]
                  static/vant/wxs/memoize.wxs    1.03 kB          [emitted]
                    static/vant/wxs/utils.wxs  298 bytes          [emitted]

  Build complete.

  Tip: built files are meant to be served over an HTTP server.
  Opening index.html over file:// won‘t work.

 

打完收工~

以上是关于mpvue——Error: Cannot find module 'escape-string-regexp'的主要内容,如果未能解决你的问题,请参考以下文章

Error: Cannot find module ‘express‘

Error: Cannot find module

Error: Cannot find module PhantomJS

QT error: cannot find -lGL

Error: Cannot find module ‘dotenv‘解决方法

Error: Cannot find module ‘dotenv‘解决方法