PS D:\work\vue-ssr-tech> npm i babel-preset-env babel-plugin-transform-vue-jsx
npm WARN babel-plugin-transform-vue-jsx@3.7.0 requires a peer of babel-helper-vue-jsx-merge-props@^2.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN vue-ssr-tech@1.0.0 No description
npm WARN vue-ssr-tech@1.0.0 No repository field.
npm ERR! path D:\work\vue-ssr-tech\node_modules\babel-plugin-transform-es2015-unicode-regex
npm ERR! code EEXIST
npm ERR! errno -4075
npm ERR! syscall mkdir
npm ERR! EEXIST: file already exists, mkdir 'D:\work\vue-ssr-tech\node_modules\babel-plugin-transform-es2015-unicode-regex'
npm ERR! File exists: D:\work\vue-ssr-tech\node_modules\babel-plugin-transform-es2015-unicode-regex
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\wenheng\AppData\Roaming\npm-cache\_logs\2019-05-09T05_48_50_302Z-debug.log
需要装个依赖
npm i babel-helper-vue-jsx-merge-props