-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
fix(platform): Build failure in platform #385
Conversation
Failed to generate code suggestions for PR |
@DhairyaMajmudar you can fix these one by one as time permits. We would be glad to have an error free code. Please ping @kriptonian1 in case you need some help since he is the code owner. |
Sure thing 🚀 |
Hey @DhairyaMajmudar this is issue are related to shadcn ui. So maybe you can refer to this issue shadcn-ui/ui#3143 in which they have suggested a fix |
@kriptonian1 types failures are fixed, but still facing errors due to usage of platform:build: cache miss, executing 3caca622bba58b30
platform:build:
platform:build: > platform@1.0.0 build /home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform
platform:build: > next build
platform:build:
platform:build: ✓ Creating an optimized production build
platform:build: ✓ Compiled successfully
platform:build: ✓ Linting and checking validity of types
platform:build: ✓ Collecting page data
Generating static pages (0/11) [= ]ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build:
platform:build: Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
platform:build: ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build: ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build:
platform:build: Error occurred prerendering page "/settings". Read more: https://nextjs.org/docs/messages/prerender-error
platform:build: ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build: ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build:
platform:build: Error occurred prerendering page "/teams". Read more: https://nextjs.org/docs/messages/prerender-error
platform:build: ReferenceError: localStorage is not defined
platform:build: at getCurrentWorkspace (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:8151)
platform:build: at Combobox (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform/.next/server/chunks/159.js:1:9778)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:36421)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:49347)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52524)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at ng (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:54569)
platform:build: at ny (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:52770)
platform:build: at nv (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:55162)
platform:build: at nh (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/node_modules/.pnpm/next@13.5.6_@babel+core@7.25.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:27:46622)
platform:build: ✓ Generating static pages (11/11)
platform:build:
platform:build: > Export encountered errors on following paths:
platform:build: /(main)/page: /
platform:build: /(main)/settings/@billing/page: /settings
platform:build: /(main)/teams/page: /teams
platform:build: ELIFECYCLE Command failed with exit code 1.
platform:build: ERROR: command finished with error: command (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform) /home/dhairya/.nvm/versions/node/v22.2.0/bin/pnpm run build exited (1)
platform#build: command (/home/dhairya/Desktop/FOSS_Hack'24/keyshade/apps/platform) /home/dhairya/.nvm/versions/node/v22.2.0/bin/pnpm run build exited (1)
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 7.054s
Failed: platform#build
ERROR run failed: command exited (1)
ELIFECYCLE Command failed with exit code 1. cc: @rajdip-b |
you can refer to this to fix it, but do give it a check if it is breaking something or not |
useEffect can be a solution but Let's merge this PR to fix other build errors. And do required changes to fix |
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
Thats good to hear! We will be using jotai anyways because of its clean API. |
P.S. can we swap out jotai with local storage? I don't think it makes sense to store workspace data in local storage since we need to add an observer to that. @kriptonian1 |
@DhairyaMajmudar hey bro! Long time since you have put this up. Do we have any changes? |
Hi I've suggested a fix for this here #385 (comment) |
Moving this convo to discord! I'm still seeing a few errors. |
Merging this for now, the persisting error needs to swap out local storage with Jotai |
Co-authored-by: Rajdip Bhattacharya <agentR47@gmail.com>
## [2.4.0](v2.3.0...v2.4.0) (2024-09-05) ### 🚀 Features * **api-client:** Create controller for Event module ([#399](#399)) ([122df35](122df35)) * **api-client:** Create controller for Integration module ([#397](#397)) ([697d38b](697d38b)) * **api-client:** Create controller for Project module ([#370](#370)) ([fa25866](fa25866)) * **api-client:** Create controller for Secret module ([#396](#396)) ([7e929c0](7e929c0)) * **api-client:** Create controller for Variable module ([#395](#395)) ([3e114d9](3e114d9)) * **api:** Add global search in workspace ([c49962b](c49962b)) * **api:** Add max page size ([#377](#377)) ([ed18eb0](ed18eb0)) * **cli:** Add functionality to operate on Environments ([#324](#324)) ([4c6f3f8](4c6f3f8)) * **cli:** Quit on decryption failure ([#381](#381)) ([1349d15](1349d15)) ### 🐛 Bug Fixes * **api-client:** Fixed broken export ([096df2c](096df2c)) * **api:** Add NotFound exception on passing an invalid roleId while inviting user in workspace ([#408](#408)) ([ab441db](ab441db)) * **cli:** Fixed missing module ([f7a091f](f7a091f)) * **platform:** Build failure in platform ([#385](#385)) ([90dcb2c](90dcb2c)) ### 🔧 Miscellaneous Chores * Add api client build script and updated CI ([da0e27a](da0e27a)) * **api:** Reorganized import using path alias ([d5befd1](d5befd1)) * **ci:** Update CLI CI name ([8f4c456](8f4c456)) * **cli:** Add Zod validation to parseInput function ([#362](#362)) ([34e6c39](34e6c39)) * Fixed api client tests and rearranged controllers ([1307604](1307604)) * Housekeeping ([c5f1330](c5f1330)) * **platform:** Added strict null check ([072254f](072254f)) * **web:** Added strict null check ([7e12b47](7e12b47)) ### 🔨 Code Refactoring * **api:** Update logic for forking projects ([#398](#398)) ([4cf3838](4cf3838))
Co-authored-by: Rajdip Bhattacharya <agentR47@gmail.com>
## [2.4.0](keyshade-xyz/keyshade@v2.3.0...v2.4.0) (2024-09-05) ### 🚀 Features * **api-client:** Create controller for Event module ([keyshade-xyz#399](keyshade-xyz#399)) ([122df35](keyshade-xyz@122df35)) * **api-client:** Create controller for Integration module ([keyshade-xyz#397](keyshade-xyz#397)) ([697d38b](keyshade-xyz@697d38b)) * **api-client:** Create controller for Project module ([keyshade-xyz#370](keyshade-xyz#370)) ([fa25866](keyshade-xyz@fa25866)) * **api-client:** Create controller for Secret module ([keyshade-xyz#396](keyshade-xyz#396)) ([7e929c0](keyshade-xyz@7e929c0)) * **api-client:** Create controller for Variable module ([keyshade-xyz#395](keyshade-xyz#395)) ([3e114d9](keyshade-xyz@3e114d9)) * **api:** Add global search in workspace ([c49962b](keyshade-xyz@c49962b)) * **api:** Add max page size ([keyshade-xyz#377](keyshade-xyz#377)) ([ed18eb0](keyshade-xyz@ed18eb0)) * **cli:** Add functionality to operate on Environments ([keyshade-xyz#324](keyshade-xyz#324)) ([4c6f3f8](keyshade-xyz@4c6f3f8)) * **cli:** Quit on decryption failure ([keyshade-xyz#381](keyshade-xyz#381)) ([1349d15](keyshade-xyz@1349d15)) ### 🐛 Bug Fixes * **api-client:** Fixed broken export ([096df2c](keyshade-xyz@096df2c)) * **api:** Add NotFound exception on passing an invalid roleId while inviting user in workspace ([keyshade-xyz#408](keyshade-xyz#408)) ([ab441db](keyshade-xyz@ab441db)) * **cli:** Fixed missing module ([f7a091f](keyshade-xyz@f7a091f)) * **platform:** Build failure in platform ([keyshade-xyz#385](keyshade-xyz#385)) ([90dcb2c](keyshade-xyz@90dcb2c)) ### 🔧 Miscellaneous Chores * Add api client build script and updated CI ([da0e27a](keyshade-xyz@da0e27a)) * **api:** Reorganized import using path alias ([d5befd1](keyshade-xyz@d5befd1)) * **ci:** Update CLI CI name ([8f4c456](keyshade-xyz@8f4c456)) * **cli:** Add Zod validation to parseInput function ([keyshade-xyz#362](keyshade-xyz#362)) ([34e6c39](keyshade-xyz@34e6c39)) * Fixed api client tests and rearranged controllers ([1307604](keyshade-xyz@1307604)) * Housekeeping ([c5f1330](keyshade-xyz@c5f1330)) * **platform:** Added strict null check ([072254f](keyshade-xyz@072254f)) * **web:** Added strict null check ([7e12b47](keyshade-xyz@7e12b47)) ### 🔨 Code Refactoring * **api:** Update logic for forking projects ([keyshade-xyz#398](keyshade-xyz#398)) ([4cf3838](keyshade-xyz@4cf3838))
User description
Description
removing several build fails from platform app
Fixes #384
Dependencies
N/A
Future Improvements
There are still some build fails exist in the codebase
Mentions
@rajdip-b
Screenshots of relevant screens
N/A
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Bug fix, Enhancement
Description
Changes walkthrough 📝
route.ts
Fix return type and response format in health API route
apps/platform/src/app/api/health/route.ts
GET
function toNextResponse
command.tsx
Enhance type safety and readability in Command component
apps/platform/src/components/ui/command.tsx
React.forwardRef
components