Peter

Results 39 comments of Peter

The problem also occurred in other projects. https://github.com/TypeStrong/ts-node/issues/2099 Maybe the last comment does help you too.

`tsx` is not supported yet. Please try passing `--preserveFilePaths` as additional cli option.

at the moment `typeorm-extension` assumes that you execute the cli on build files. https://github.com/tada5hi/typeorm-extension/blob/02b07c3744182d7327eae9f2e4c3fee9b50c6b3f/src/utils/code-transformation/module.ts#L4 Maybe you can create a pr on how to detect tsx environment :relaxed: :v:

I think the problem is that, the **import.meta.url** property is not supported in AWS Lambda functions running in a Node.js environment. It also looks like the output conforms to esm...

The problem is that even if we map the functionality in this library, **import.meta.url** is still used because we provide a bundle for cjs and esm. Esbuild should be able...

@snebjorn do you have found any solution in the meantime?

@kdy1 this would be really great if this works in the future :blush:, than it would also possible to transpile codebases which are based on decorators, like `typeorm` for example.

> It's definitely not a priority and I'm very busy. > Also, please don't write comments like `+1` No problem ✌️. Nevertheless, thank you very much. Swc is a really...