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
If iI run tsup fur bundling my types everythings working fine and everythings working as I expected.
But if I run tsup --watch i get Following Error:
Cannot find module 'xxxxxx/apps/backend/node_modules/types/dist'
backend:dev: at createEsmNotFoundErr (node:internal/modules/cjs/loader:1177:15)
backend:dev: at finalizeEsmResolution (node:internal/modules/cjs/loader:1165:15)
backend:dev: at resolveExports (node:internal/modules/cjs/loader:590:14)
backend:dev: at Function.Module._findPath (node:internal/modules/cjs/loader:664:31)
backend:dev: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
backend:dev: at Function.Module._load (node:internal/modules/cjs/loader:981:27)
backend:dev: at Module.require (node:internal/modules/cjs/loader:1231:19)
backend:dev: at require (node:internal/modules/helpers:177:18)
backend:dev: at Object.<anonymous> (xxxxxxx/apps/backend/src/auth/auth.controller.ts:10:1)
backend:dev: at Module._compile (node:internal/modules/cjs/loader:1364:14)
What could be the problem here? When I look into the node_modules they are perfectly there.
If iI run tsup fur bundling my types everythings working fine and everythings working as I expected.
But if I run tsup --watch i get Following Error:
What could be the problem here? When I look into the node_modules they are perfectly there.
package.json
tsup.config.ts
tsconfig.json
ts-library.json
base.json
Maybe I just do something wrong
Upvote & Fund
The text was updated successfully, but these errors were encountered: