Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小游戏copy出错 #32

Open
marty0929 opened this issue Mar 20, 2018 · 2 comments
Open

微信小游戏copy出错 #32

marty0929 opened this issue Mar 20, 2018 · 2 comments

Comments

@marty0929
Copy link

C:\Users\Administrator\Desktop\hero\jump>hera run web
node "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\hera-cli\\n
ode_modules\\weweb-cli\\bin\\weweb"  -b --nocheck -d heraTmp/web
文件将生成到:
C:\Users\Administrator\Desktop\hero\jump\heraTmp\web
Unhandled Rejection at: Promise {
  <rejected> Error: Cannot copy 'C:\Users\Administrator\Desktop\hero\jump' to a
subdirectory of itself, 'C:\Users\Administrator\Desktop\hero\jump\heraTmp\web'.
    at checkDest (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hera-c
li\node_modules\fs-extra\lib\copy\copy.js:146:19)
    at fs.readlink (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hera
-cli\node_modules\fs-extra\lib\copy\copy.js:242:67)
    at FSReqWrap.oncomplete (fs.js:135:15) } reason: Error: Cannot copy 'C:\User
s\Administrator\Desktop\hero\jump' to a subdirectory of itself, 'C:\Users\Admini
strator\Desktop\hero\jump\heraTmp\web'.
    at checkDest (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hera-c
li\node_modules\fs-extra\lib\copy\copy.js:146:19)
    at fs.readlink (C:\Users\Administrator\AppData\Roaming\npm\node_modules\hera
-cli\node_modules\fs-extra\lib\copy\copy.js:242:67)
    at FSReqWrap.oncomplete (fs.js:135:15)

不知道是不是现在还不支持小游戏的web转换。

@marty0929
Copy link
Author

用的例子是跳一跳的源码

@tbfly
Copy link

tbfly commented May 28, 2018

应该是还不支持 小游戏的web转换。 weweb是基础。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants