Next.js Discord

Discord Forum

Experiencing Multiple Module Not Found Can't Resolve Error

Unanswered
Daggertooth pike conger posted this in #help-forum
Open in Discord
Daggertooth pike congerOP
Hi Everyone does anyone experience this kind of error where it throws many Module Not Found Cant Resole <Package-Name> ?

We're using typeorm and nestjs also recently we've migrated to app dir

Module not found: Can't resolve 'react-native-sqlite-storage' in '/node_modules/typeorm/platform'

Import trace for requested module:
../../node_modules/typeorm/platform/PlatformTools.js
../../node_modules/typeorm/globals.js
../../node_modules/typeorm/index.js
../../node_modules/nestjs-typeorm-paginate/dist/paginate.js
../../node_modules/nestjs-typeorm-paginate/dist/index.js
../../libs/shared/utils/src/lib/pagination.ts
../../libs/shared/utils/src/index.ts
../../libs/shared/ui/partner/src/lib/containers/MyCompany/MyCompany.tsx

../../node_modules/typeorm/platform/PlatformTools.js
Critical dependency: the request of a dependency is an expression

Import trace for requested module:
../../node_modules/typeorm/platform/PlatformTools.js
../../node_modules/typeorm/globals.js
../../node_modules/typeorm/index.js
../../node_modules/nestjs-typeorm-paginate/dist/paginate.js
../../node_modules/nestjs-typeorm-paginate/dist/index.js
../../libs/shared/utils/src/lib/pagination.ts
../../libs/shared/utils/src/index.ts
../../libs/shared/ui/partner/src/lib/containers/MyCompany/MyCompany.tsx

../../node_modules/typeorm/util/DirectoryExportedClassesLoader.js
Critical dependency: the request of a dependency is an expression

2 Replies

i have the exact same error
and i could't find a way to fix it