求大佬幫我看下這個問題

来源:3-2 配置vue的jsx写法以及postcss

winter668

2019-05-09 14:06

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


写回答 关注

1回答

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

    需要装个依赖

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

    winter...

    谢谢!

    2019-05-13 12:04:54

    共 1 条回复 >

Vue+Webpack打造todo应用

用前端最热门框架Vue+最火打包工具Webpack打造todo应用

84606 学习 · 787 问题

查看课程

相似问题