[8:30:13 PM] Starting compilation in watch mode...
[8:30:15 PM] Found 0 errors. Watching for file changes.
node:internal/modules/cjs/loader:641
throw e;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './src/database' is not defined by "exports" in /Users/ikaaasra/Desktop/ALMAS/node_modules/@almas/common/package.json
at exportsNotFound (node:internal/modules/esm/resolve:304:10)
at packageExportsResolve (node:internal/modules/esm/resolve:651:9)
at resolveExports (node:internal/modules/cjs/loader:634:36)
at Module._findPath (node:internal/modules/cjs/loader:724:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1211:27)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/Users/ikaaasra/Desktop/ALMAS/packages/admin-server/src/app.module.ts:10:1)
at Module._compile (node:internal/modules/cjs/loader:1469:14) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
Node.js v20.17.0
this my package and I want to use it in my nestjs app
when I want to import in nestjs do not work well
I get this errr