oceanbase / obdeploy

A deployer and package manager for OceanBase open-source software.
https://open.oceanbase.com
GNU General Public License v3.0
87 stars 132 forks source link

[Bug]: complile obd web, after starting, occur undefine err #200

Closed PanternBao closed 2 months ago

PanternBao commented 2 months ago

Describe the bug

compile obd web manually, in google chrome, enter:http://localhost:8000

occur undefine err

Environment

linux version:3.10.0-862.14.4.el7.x86_64

os version:CentOS Linux release 7.5.1804 (Core)

yarn version: 1.22.22

Fast reproduce steps

cd web yarn yarn start

in google chrome,enter:http://localhost:8000

Expected behavior

no error

Actual behavior

image

Additional context

No response

yang1666204 commented 2 months ago

Please check if node_modules is in the web directory. If so, try deleting node_modules and try again. Then please provide the Node version. I am trying to reproduce.

PanternBao commented 2 months ago

Please check if node_modules is in the web directory. If so, try deleting node_modules and try again. Then please provide the Node version. I am trying to reproduce.

thanks, I followed your suggestion, but I still reproduce the error.

Node version:

$ node -v
v16.20.2

please refer to my operation flow: 操作步骤.txt

yang1666204 commented 2 months ago

I found two files named app. Try deleting app.ts.

PanternBao commented 2 months ago

I found two files named app. Try deleting app.ts.

thanks, it works.

yang1666204 commented 2 months ago

OK, we will resolve this issue as soon as possible. And let we know if you have any questions or if I can help with anything else.

PanternBao commented 2 months ago

OK, we will resolve this issue as soon as possible. And let we know if you have any questions or if I can help with anything else.

Thanks. There are no other questions at the moment. If there are any questions, I will raise an issue.

gys-git commented 2 months ago

https://github.com/oceanbase/obdeploy/pull/201