Hlo Sir!
I was trying create an lms app.The complete setup was perfectly fine.I have created the new doctypes and some fields in particular lms module.What I see is the updates in the framework part is no getting updated in my application.then i tried bench commnads to update i set bench migrates, cleared the catche and started the bench still so use.
So,I got a solution called running frontend in parallel with the bench.so ,I added split the terminal to run the frontend scripts ,‘npm run dev{which is for vite}’ and ending up with no results.
Instead I’m getting results like this
127.0.0.1 - - [10/Feb/2025 04:43:22] “GET /private/files/download.jpg HTTP/1.1” 200 -
04:43:34 watch.1 | Watching for changes…
04:44:22 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:22] “POST /api/method/lms.lms.api.get_translations HTTP/1.1” 400 -
04:44:22 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:22] “POST /api/method/frappe.client.get_single_value HTTP/1.1” 400 -
04:44:22 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:22] “POST /api/method/lms.lms.api.get_user_info HTTP/1.1” 400 -
04:44:22 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:22] “POST /api/method/lms.lms.api.get_branding HTTP/1.1” 400 -
04:44:23 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:23] “POST /api/method/lms.lms.utils.is_onboarding_complete HTTP/1.1” 400 -
04:44:23 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:23] “POST /api/method/frappe.client.get_count HTTP/1.1” 400 -
04:44:23 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:23] “POST /api/method/lms.lms.api.get_sidebar_settings HTTP/1.1” 400 -
04:44:24 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:24] “POST /api/method/lms.lms.utils.get_courses HTTP/1.1” 400 -
04:44:24 web.1 | 127.0.0.1 - - [10/Feb/2025 04:44:24] “POST /api/method/lms.lms.api.get_categories HTTP/1.1” 400 -
So, i added cors as they are running on different ports but still couldn't make up
Can you please help me out.My main motto is to get things updated whenever changes made in frappe build i want them to get updated in my appp.As i can see the updates in the in the backend aswell ,but Not in the application UI.
The above I added coinsAlloted field ,but not reflecting in the lms app, as they both run in same site
Please help me out ,Waiting for reply.
Thank You.