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

[BUG]: 无法本地调试代码 #176

Closed
gittig11 opened this issue Jul 18, 2022 · 3 comments
Closed

[BUG]: 无法本地调试代码 #176

gittig11 opened this issue Jul 18, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@gittig11
Copy link

Describe the bug

bug1

yarn dev时报错:

node_modules/domino/lib/sloppy.js:10:4: error: With statements cannot be used with the "esm" output format due to strict mode

10 │     with(this) eval(code);
   ╵     ~~~~

bug2

yarn start时报错:

use proxy: false
envs: disable on windows
Address: http://localhost:3044
(node:3232) UnhandledPromiseRejectionWarning: Error: next() called multiple times
    at dispatch (...\YankNote\node_modules\koa-compose\index.js:36:45)
    at ...\YankNote\dist\main\server\index.js:767:21
    at step (...\YankNote\dist\main\server\index.js:63:23)
    at Object.next (...\YankNote\dist\main\server\index.js:44:53)
    at ...\YankNote\dist\main\server\index.js:38:71
    at new Promise (<anonymous>)
    at __awaiter (...\YankNote\dist\main\server\index.js:34:12)
    at sendFile (...\YankNote\dist\main\server\index.js:755:12)
    at ...\YankNote\dist\main\server\index.js:762:42
    at step (...\YankNote\dist\main\server\index.js:63:23)

electron窗口黑色,没内容。

Desktop (please complete the following information):

  • Version: 3.31.0
  • OS: win10
@gittig11 gittig11 added the bug Something isn't working label Jul 18, 2022
@purocean
Copy link
Owner

node 版本是多少

@gittig11
Copy link
Author

node 版本是多少

16.13.2

@purocean
Copy link
Owner

试试14,我这里工作流里面用的 14。可以参考这个流程 https://github.com/purocean/yn/blob/develop/.github/workflows/release.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants