code100x / chess

A multiplayer chess platform
https://chess.100xdevs.com/
1.62k stars 584 forks source link

Fixes:#341/builds are now being passing up #342

Open abhay-raj19 opened 6 months ago

abhay-raj19 commented 6 months ago

While the complete build was failing apart just by running npm run build

What was causing up the issue ?

-> while I was running up the npm run build inside the apps/frontend/ for compiling up the typescript code the tsc command was failing up due to the incorrect imports in package.json.

-> Corrected up the tsconfig

 "paths": {
  "@/*": ["./*",./public/*"]
  },
  `
  to 

  "paths": {
  "@/*": ["./*","src/*", "./public/*"]
  },

-> and removed up the const user = useUser(); from src/app.tsx in frontend .

https://github.com/code100x/chess/assets/96302417/1cc12cf4-d5cb-474a-b54b-22284c569f7d

abhay-raj19 commented 6 months ago

341 Fixed Up

abhay-raj19 commented 3 months ago

Builds are now successfully Passing up .