You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/08/23 03:29:33 UTC

[GitHub] [dolphinscheduler] hqzh opened a new issue, #11609: [Bug] [UI] router base dev env Refresh fail

hqzh opened a new issue, #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   i want in dev env append a router pre
   ![image](https://user-images.githubusercontent.com/26128706/186063212-636459ef-a3c3-49ba-a1cd-302f7e7f73b0.png)
   ![image](https://user-images.githubusercontent.com/26128706/186063244-616aac06-e77f-4a0a-9800-d0eea7460b9a.png)
   
   
   ### What you expected to happen
   
   ```js
   const router = createRouter({
     history: createWebHistory(
       import.meta.env.MODE === 'production' ? '/dolphinscheduler/ui/' : '/dolphinscheduler-ui/'
     ),
     routes
   })
   ```
   
   ### How to reproduce
   
   yarn run dev .  visit http://localhost:3000/dolphinscheduler-ui/home . first render normal,but refresh 404
   
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.0
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223740550

   let me try pnpm, i will feedback


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223828871

   > ### Search before asking
   > * [x]  I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   > 
   > ### What happened
   > i want in dev env append a router pre ![image](https://user-images.githubusercontent.com/26128706/186063212-636459ef-a3c3-49ba-a1cd-302f7e7f73b0.png) ![image](https://user-images.githubusercontent.com/26128706/186063244-616aac06-e77f-4a0a-9800-d0eea7460b9a.png)
   > 
   > ### What you expected to happen
   > ```js
   > const router = createRouter({
   >   history: createWebHistory(
   >     import.meta.env.MODE === 'production' ? '/dolphinscheduler/ui/' : '/dolphinscheduler-ui/'
   >   ),
   >   routes
   > })
   > ```
   > 
   > ### How to reproduce
   > yarn run dev . visit http://localhost:3000/dolphinscheduler-ui/home . first render normal,but refresh 404
   > 
   > ### Anything else
   > _No response_
   > 
   > ### Version
   > 3.0.0
   > 
   > ### Are you willing to submit PR?
   > * [ ]  Yes I am willing to submit a PR!
   > 
   > ### Code of Conduct
   > * [x]  I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   This problem still exists


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223598614

   ![image](https://user-images.githubusercontent.com/26128706/186084118-563e2baf-0d1f-4f9f-be7c-3303e08930c5.png)
   **为什么加了前缀跑到2.x的界面了**
   @SbloodyS 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223827156

   > 1. git branch checkout 3.0.0-realease
   > 2. yarn run dev --mode production
   >    @SbloodyS
   >    **render result is  2.x UI,I expected  3.x UI**
   >    ![image](https://user-images.githubusercontent.com/26128706/186104410-73a17192-ae02-43e5-b32c-46e3d0aec78f.png)
   > 
   > **normal view,this is docker build.** ![image](https://user-images.githubusercontent.com/26128706/186104636-9434cb12-f0c6-49cd-87cf-6233e520047f.png)
   
   pnpm it's works . thanks man.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223651629

   @SbloodyS  Isn't this bug?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #11609: [Bug] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223487421

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223645630

   Please use english to describe it. @hqzh 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223692758

   Can you describe the steps you operate? @hqzh 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223688386

   I follow the document steps ,but not expected results


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh closed issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh closed issue #11609: [Question] [UI] router base dev env Refresh fail
URL: https://github.com/apache/dolphinscheduler/issues/11609


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1224005059

   it like's not support  ‘-’,why  design it like this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223641625

   **为何3.0.0的生产构建yarn build:prod之后显示的是2.x的界面**  @SbloodyS 
   ![image](https://user-images.githubusercontent.com/26128706/186092824-b21b9759-b210-4efe-af44-122d6a4d07b7.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223653692

   Please operate according to the environmental requirements and steps of the document.
   `https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/contribute/development-environment-setup.html`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223706288

   Please read the document carefully. We don't support yarn right now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] hqzh commented on issue #11609: [Question] [UI] router base dev env Refresh fail

Posted by GitBox <gi...@apache.org>.
hqzh commented on issue #11609:
URL: https://github.com/apache/dolphinscheduler/issues/11609#issuecomment-1223700158

   1. git branch checkout 3.0.0-realease
   2. yarn run dev --mode production
   
   **view** 
   ![image](https://user-images.githubusercontent.com/26128706/186104410-73a17192-ae02-43e5-b32c-46e3d0aec78f.png)
   
   
   **normal view**
   ![image](https://user-images.githubusercontent.com/26128706/186104465-6ad818f8-21ed-4642-b45a-d5a1c1d45616.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org