-
Notifications
You must be signed in to change notification settings - Fork 203
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
Typescript error on deployment to AWS #638
Comments
Exact same problem here, but it is during build time. Not specific to an AWS deployment |
@berkaey and @mploux do you have any more info on this? a longer stack trace even? |
I'm not sure it is directly related to algo-sdk because after I forced ts version to 4.7.4 and removing node_modules from tsconfig paths the error disappeared |
Same problem, output:
Node 16.16, Typescript 4.6.2 |
UPDATE: Upgraded to Typescript 4.7.4, error gone. |
i am using typescript 4.8.2 node 16.14.2
|
Worked for me |
Had the same problem with typescript 4.8.2. Downgraded to 4.7.4 and it's gone. |
I'm seeing this too, it occurs at the original local build time but prevents publishing to Firebase Functions as well. |
Pinning to this version worked for me as well, an this is the {
"ts-node": {
// these options are overrides used only by ts-node
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "commonjs"
}
},
"compilerOptions": {
"target": "ES2015",
"module": "ES2020",
"moduleResolution": "node",
"sourceMap": true,
"declaration": true,
"declarationDir": "./lib/types",
"outDir": "./lib/esm",
"strict": true,
"noImplicitAny":true,
"strictNullChecks": true,
"esModuleInterop": true,
"allowJs": true,
"lib": [ "es2015","DOM" ],
"allowSyntheticDefaultImports": true
// "types": ["jest", "@types/node","reflect-metadata"]
},
"include": ["src/**/*", "src/__tests__/t-tests.ts"],
"exclude": ["node_modules", "**/__tests__/*", "src/build/*"],
}
|
Getting same error with |
@kalp-lathia this should be corrected in the next release (2.2.0), expecting it today or tomorrow |
If this is fully resolved as of 2.2.0 we can close this. Is anyone still facing this issue? |
Closing--please re-open if you continue to see this same issue occurring when using v |
I'm getting this error while deploying to AWS ElasticBeanstalk environment. BTW, In local, it works perfectly.
Local Environment
EB Environment
The text was updated successfully, but these errors were encountered: