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

按照命令执行报错 #2

Closed
itxtl opened this issue Apr 11, 2023 · 12 comments
Closed

按照命令执行报错 #2

itxtl opened this issue Apr 11, 2023 · 12 comments

Comments

@itxtl
Copy link

itxtl commented Apr 11, 2023

image

@mjjh1717
Copy link
Owner

试试 pnpm i 然后再pnpm bootstrap

@itxtl
Copy link
Author

itxtl commented Apr 11, 2023

image

pnpm i 执行也报错,现在版本的不兼容的问题?

@itxtl
Copy link
Author

itxtl commented Apr 11, 2023

image

我的三个版本分别是上面这样的,电脑是 macbook m1 芯片,希望大佬帮忙看看~

@mjjh1717
Copy link
Owner

版本问题报错原因可能很多 可以参考这篇文章 https://blog.csdn.net/weixin_44803753/article/details/106184840 或者试着自己 fork https://github.com/Chanzhaoyu/chatgpt-web 原代码尝试,附上我的配置 我是win环境
image

@itxtl
Copy link
Author

itxtl commented Apr 11, 2023

嗯嗯,谢谢,应该是版本的问题,我按照群里的消息将版本降低到 node 16就好了

@itxtl
Copy link
Author

itxtl commented Apr 11, 2023

image

image

说文和解字都已经构建成功并运行了,但是说文报链接不上后端,前端都是使用 vscode 直接运行,后端使用idea 下面是说文的报错提示

image

@itxtl
Copy link
Author

itxtl commented Apr 11, 2023

嗯,可以了,是前端默认的端口没有跟后端对应上。

@illsiveblue
Copy link

请问后端端口在哪配置,应该如何配置

@old-eight800
Copy link

同问,build构建之后,使用Ng维护静态页面,访问注册功能时前端页面一闪而过立即刷新到登录页面,后端提示NotLoginException: 未能读取到有效Token

@Youkehai
Copy link

解决了吗?我也是这个问题

@LYJSPEEDX
Copy link

解决了吗?我也是这个问题

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

8 participants
@illsiveblue @LYJSPEEDX @itxtl @Youkehai @mjjh1717 @old-eight800 and others