leahkatherine / react-monorepo

0 stars 0 forks source link

tsconfig.lib.json error library import feat-auth #33

Closed leahkatherine closed 7 months ago

leahkatherine commented 7 months ago

Theres an issue with the computer not recognizing my library again, . is there a way to redownload a library? not importing correctly on app.tsx. errors mentioned server.ts is missing however Other project reference doesnt mention a server.ts.

leahkatherine commented 7 months ago

Issue of file ordering in libs. I tried to resolve the matter by updating the paths in tsconfig.base.json. While the path was correct in tsconfig.base.json as you can see here:
"@react-monorepo/feat-auth": [ "libs/web/feat-auth/src/index.ts" ],

The actual issue was that index.ts was not in the src directory folder, but rather there was only one calling all of the folders in feat-auth to be exported from libs but not from src.