vue project develops under window using vuex
local npm run build generation dist that can be accessed normally on the server without any problems
but npm run build will report an error in the extension operator if it is on the server (linux environment).
the error prompt is as follows
[1m[31mERROR in ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=script&index=0!./src/components/security/Mobile.vue
Module build failed: SyntaxError: Unexpected token (113:3)
111 | },
112 | computed:{
> 113 | ...mapGetters(["userView"]),
| ^
114 | userView(){
115 | return this.$store.state.userView.UserView;
116 | },
@ ./src/components/security/Mobile.vue 6:0-128 7:0-141
@ ./src/router/index.js
@ ./src/main.js[39m[22m