I have no clue what is the reason behind this, ive tried multiple approaches to finding out the reason why this error is happening, but wihtout luck?
flimmer git:(main) ✗ npx turbo run build --filter=admin-dashboard
• Packages in scope: admin-dashboard
• Running build in 1 packages
• Remote caching disabled
admin-dashboard:build: cache miss, executing 19cd75ee5e61ff3f
admin-dashboard:build:
yarn run v1.22.21
$ next build
admin-dashboard:build: ▲ Next.js 14.1.3
admin-dashboard:build: - Environments: .env.production
admin-dashboard:build:
admin-dashboard:build: Creating an optimized production build ...
admin-dashboard:build: ✓ Compiled successfully
Linting and checking validity of types ... ⨯ ESLint: Failed to load config "@repo/eslint-config/library.js" to extend from. Referenced from: /Users/oscdot/Repos/flimmer/.eslintrc.js
Linting and checking validity of types ...Failed to compile.
admin-dashboard:build:
admin-dashboard:build: ../../node_modules/convex-helpers/index.ts:15:22
admin-dashboard:build: Type error: Type 'Iterable<FromType>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.
admin-dashboard:build:
admin-dashboard:build: 13 | const promises: Promise<ToType>[] = [];
admin-dashboard:build: 14 | let index = 0;
admin-dashboard:build: > 15 | for (const item of await list) {
admin-dashboard:build: | ^
admin-dashboard:build: 16 | promises.push(asyncTransform(item, index));
admin-dashboard:build: 17 | index += 1;
admin-dashboard:build: 18 | }
Can anyone guide me in the right direction here?