You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a monorepo built with turborepo. Packages compilation works fine but there is an error when I try to build entire monorepo including my nextjs app. This is my package.json and tsconfig.ts of my web app:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have a monorepo built with
turborepo. Packages compilation works fine but there is an error when I try to build entire monorepo including my nextjs app. This is mypackage.jsonandtsconfig.tsof mywebapp:Now, in the file
./src/api/exam-formula/hooks.tsI do:There is no error in VS code itself, typescript works fine etc. However, when I do
npm run buildI have:Why? What am I missing?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions