Skip to content

Troubleshooting

Iyobo Eki edited this page Oct 17, 2023 · 4 revisions

Amala not working/validating inputs with ESBuild

ESBuild has a massive flaw in that it does not fully support decorators. That is a problem, as Amala and several other major Typescript projects are exclusively based on decorators.

It is recommended that you either use either tsc, webpack (like NestJS does) or some ESBuild extension that somehow works with tsc to compile your amala projects.

I am trying to use Amala in NX and I cannot use validation

See previous note about ESBuild. Be sure you are not using esbuild to serve/build applications in your package's project.json.

Clone this wiki locally