You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug]: algoliasearch doesn't compile with Node 20 #1594
This isn't enough information, you have not provided what typescript settings you're using which cause this error. Please create a full reproduction first.
Activity
Haroenv commentedon Aug 8, 2025
This isn't enough information, you have not provided what typescript settings you're using which cause this error. Please create a full reproduction first.
shortcuts commentedon Aug 8, 2025
it seems like it resolves to the browser build for some reason so should indeed be related to the tsconfig
IchordeDionysos commentedon Aug 26, 2025
@Haroenv if you follow the exact steps I provided you can see the exact typescript settings I am using!
IchordeDionysos commentedon Aug 26, 2025
tsconfig.json
{ "extends": "./node_modules/gts/tsconfig-google.json", "compilerOptions": { "rootDir": ".", "outDir": "build" }, "include": [ "src/**/*.ts", "test/**/*.ts" ] }tsconfig-google.json
{ "compilerOptions": { "allowUnreachableCode": false, "allowUnusedLabels": false, "composite": true, "forceConsistentCasingInFileNames": true, "lib": ["ES2023"], "module": "commonjs", "noEmitOnError": true, "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, "pretty": true, "sourceMap": true, "stripInternal": true, "strict": true, "target": "ES2022" }, "exclude": ["node_modules"] }