问答详情
源自:3-2 配置vue的jsx写法以及postcss

求大佬幫我看下這個問題

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


提问者:winter668 2019-05-09 14:06

个回答

  • 六分子moon
    2019-05-09 18:11:55
    已采纳

    需要装个依赖

    npm i babel-helper-vue-jsx-merge-props