Poyraz
Poyraz
Explore posts from servers
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
thats a bummer, @Andrew Sherman any idea what could be causing this issue?
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
Any updates on this? Pretty frustrating as i cannot use relations with aws-data-api 😦
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
the command i am trying to run is pnpm drizzle-kit generate:pq
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
full error
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
drizzle-kit: v0.18.1

node:internal/modules/cjs/loader:995
const err = new Error(message);
^

Error: Cannot find module 'drizzle-orm/version'
Require stack:
- /Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at assertOrmCoreVersion (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:50666:36)
at Command2.<anonymous> (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:51204:3)
at Command2.listener [as _actionHandler] (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:832:21)
at /Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1251:69
at Command2._chainOrCall (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1183:16)
at Command2._parseCommand (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1251:31) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js'
]
}

Node.js v18.12.1
drizzle-kit: v0.18.1

node:internal/modules/cjs/loader:995
const err = new Error(message);
^

Error: Cannot find module 'drizzle-orm/version'
Require stack:
- /Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at assertOrmCoreVersion (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:50666:36)
at Command2.<anonymous> (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:51204:3)
at Command2.listener [as _actionHandler] (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:832:21)
at /Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1251:69
at Command2._chainOrCall (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1183:16)
at Command2._parseCommand (/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js:1251:31) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/poyrazbirbil/Desktop/poyrazProjects/fiesta/node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/index.js'
]
}

Node.js v18.12.1
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
still same error throwing
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
installed using -w
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
removed node modules
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
so removed drizzle-kit and drizzle-orm from packages/core
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
does my drizzle.config.ts have to be in the root folder aswell
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
quick question
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
and i dont think you need to install drizzle in root bc it was working just fine when i only had it installed in packages/core
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
still same error
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
downloading in root doesnt change much
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
do i still need to install drizzle and drizzle kit in root of monorepo
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
i initiate the db through the core package
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
0.26.3 isnt throwing any erros
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
going back to latest drizzle version fixes the error
58 replies
DTDrizzle Team
Created by Poyraz on 5/29/2023 in #help
subRows.map is not a function
started seeing them after updating to af636c3
58 replies