gridea icon indicating copy to clipboard operation
gridea copied to clipboard

clone后yarn完成,启动卡住无界面

Open ajavaer opened this issue 3 years ago • 6 comments

卡住的地方如图:

https://s1.ax1x.com/2022/05/19/OHO02Q.png

ajavaer avatar May 19 '22 06:05 ajavaer

yarn electron:serve

ajavaer avatar May 19 '22 06:05 ajavaer

是用yarn安装的依赖吗?另外可以试试将博客源文件夹删除,然后再启动一下试试

EryouHao avatar May 20 '22 04:05 EryouHao

是的,yarn安装的,以及我将gridea相关的文件夹删除了也不行

ajavaer avatar May 21 '22 05:05 ajavaer

我也是这个情况,试了多个node版本(11,12,14)都不行,且yarn electron:build报以下错误

Images and other types of assets omitted.

DONE Build complete. The dist_electron\bundled directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

  • Bundling main process... ERROR Failed to compile with 1 errors3:41:51 ├F10: PM┤

error

background.js from Terser Octal escape sequences are not allowed in template strings [background.js:2,5669539]

ERROR Build failed with errors. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

layfolk007 avatar May 23 '22 07:05 layfolk007

我也是这个情况,试了多个node版本(11,12,14)都不行,且yarn electron:build报以下错误

Images and other types of assets omitted.

DONE Build complete. The dist_electron\bundled directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

  • Bundling main process... ERROR Failed to compile with 1 errors3:41:51 ├F10: PM┤

error

background.js from Terser Octal escape sequences are not allowed in template strings [background.js:2,5669539]

ERROR Build failed with errors. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn electron:serve 我也是不行,只能预览但是没有客户端,yarn electron:build错误是因为依赖问题,具体见这一条: https://github.com/getgridea/gridea/issues/636#issuecomment-663821570

wherelse avatar May 23 '22 12:05 wherelse

我也是这个情况,试了多个node版本(11,12,14)都不行,且yarn electron:build报以下错误 Images and other types of assets omitted. DONE Build complete. The dist_electron\bundled directory is ready to be deployed. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

  • Bundling main process... ERROR Failed to compile with 1 errors3:41:51 ├F10: PM┤

error background.js from Terser Octal escape sequences are not allowed in template strings [background.js:2,5669539] ERROR Build failed with errors. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn electron:serve 我也是不行,只能预览但是没有客户端,yarn electron:build错误是因为依赖问题,具体见这一条: #636 (comment)

只能等待作者大大修复啦,或许是electron版本太低的原因

ajavaer avatar May 24 '22 03:05 ajavaer