zhangdaren / miniprogram-to-uniapp

轻松将各种小程序转换为uni-app项目
Other
1.67k stars 277 forks source link

转换成vue程序失败 #44

Closed bingozhu0197 closed 4 years ago

bingozhu0197 commented 5 years ago

wtu -i miniprogramProject -c, 转vue程序有guide吗? 我转换过程中提示: template里的data属性转换前 ==> "selected_value,days,month,years,hours,lunar_year s,lunar_month,lunar_days,selectDateType,lunar_selected_value" 转换后 ==> {"s elected_value":"selected_value","days":"days","month":"month","years":"years","h ours":"hours","lunar_years":"lunar_years","lunar_month":"lunar_month","lunar_day s":"lunar_days","selectDateType":"selectDateType","lunar_selectedvalue":"lunar selected_value"} copy public/index.html success! { Error: ENOENT: no such file or directory, stat 'C:\Users\bingo\AppData\Roaming \npm\node_modules\miniprogram-to-uniapp\src\wx2uni\vue_cli.gitignore' at Object.fs.statSync (fs.js:948:11) at Object.statSync (C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprog ram-to-uniapp\node_modules\graceful-fs\polyfills.js:308:16) at getStatsSync (C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprogram -to-uniapp\node_modules\fs-extra\lib\util\stat.js:60:18) at Object.checkPathsSync (C:\Users\bingo\AppData\Roaming\npm\node_modules\mi niprogram-to-uniapp\node_modules\fs-extra\lib\util\stat.js:90:33) at Object.copySync (C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprog ram-to-uniapp\node_modules\fs-extra\lib\copy-sync\copy-sync.js:24:38) at Promise (C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprogram-to-u niapp\src\wx2uni\vueCliHandle.js:106:10) at new Promise () at vueCliHandle (C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprogram -to-uniapp\src\wx2uni\vueCliHandle.js:34:9) at filesHandle.then (C:\Users\bingo\AppData\Roaming\npm\node_modules\minipro gram-to-uniapp\src\index.js:808:5) at errno: -4058, code: 'ENOENT', syscall: 'stat', path: 'C:\Users\bingo\AppData\Roaming\npm\node_modules\miniprogram-to-u niapp\src\wx2uni\vue_cli\.gitignore' }

没有生成相关的package.json

zhangdaren commented 5 years ago

详细的日志可以贴一下吗?