-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: (0 , connect_pg_simple_1.default) is not a function #304
Comments
I think this is due to how your TypeScript is set up - what it compiles to and how it handles imports when it does that compilation What's your tsconfig? |
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"paths": {
"@app/common": [
"libs/common/src"
],
"@app/common/*": [
"libs/common/src/*"
],
"@app/mail": [
"libs/mail/src"
],
"@app/mail/*": [
"libs/mail/src/*"
],
"@app/types": [
"libs/types/src"
],
"@app/types/*": [
"libs/types/src/*"
]
}
}
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assalamualaikom, @voxpelli
It's throwing
TypeError: (0 , connect_pg_simple_1.default) is not a function
Nestjs: v10
Nodejs: v20.10.0
Postgres: v16
main.ts
package.json
The text was updated successfully, but these errors were encountered: