I just set up a new 5.0 RC 7 development version, ensured it is working and tracking visits. Without making any code changes, I tried ./console vue:build CoreHome, but get the following error
<code>
/var/www/matomo 5.x-dev !12008 ?3 ❯ ./console vue:build CoreHome root@LenovaIPG3 14:45:29
Building CoreHome...
ERROR Error: Cannot find module '@babel/plugin-proposal-object-rest-spread'
Require stack:
- /var/www/matomo/node_modules/@babel/core/lib/config/files/plugins.js
- /var/www/matomo/node_modules/@babel/core/lib/config/files/index.js
- /var/www/matomo/node_modules/@babel/core/lib/index.js
- /var/www/matomo/node_modules/@vue/cli-plugin-babel/index.js
- /var/www/matomo/node_modules/@vue/cli-service/lib/Service.js
- /var/www/matomo/node_modules/@vue/cli-service/bin/vue-cli-service.js
- /var/www/matomo/plugins/CoreVue/scripts/cli-service-proxy.js
Error: Cannot find module '@babel/plugin-proposal-object-rest-spread'
Require stack:
- /var/www/matomo/node_modules/@babel/core/lib/config/files/plugins.js
- /var/www/matomo/node_modules/@babel/core/lib/config/files/index.js
- /var/www/matomo/node_modules/@babel/core/lib/index.js
- /var/www/matomo/node_modules/@vue/cli-plugin-babel/index.js
- /var/www/matomo/node_modules/@vue/cli-service/lib/Service.js
- /var/www/matomo/node_modules/@vue/cli-service/bin/vue-cli-service.js
- /var/www/matomo/plugins/CoreVue/scripts/cli-service-proxy.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at resolve (node:internal/modules/cjs/helpers:127:19)
at resolveStandardizedName (/var/www/matomo/node_modules/@babel/core/lib/config/files/plugins.js:111:7)
at resolvePlugin (/var/www/matomo/node_modules/@babel/core/lib/config/files/plugins.js:55:10)
at loadPlugin (/var/www/matomo/node_modules/@babel/core/lib/config/files/plugins.js:63:20)
at loadPlugin.next (<anonymous>)
at createDescriptor (/var/www/matomo/node_modules/@babel/core/lib/config/config-descriptors.js:187:16)
at createDescriptor.next (<anonymous>)
at evaluateSync (/var/www/matomo/node_modules/gensync/index.js:251:28)
at /var/www/matomo/node_modules/gensync/index.js:31:34
Failed:
</code>
1 post - 1 participant