TypeORM ColumnTypeUndefined Ошибка при съемке шагов? - PullRequest
0 голосов
/ 29 марта 2019

Добавление TypeORM в ванильный проект Javascript, но с этой ошибкой. Проект упакован с веб-пакетом, созданным из извлеченного приложения create-реагировать.

ColumnTypeUndefinedError: Column type for Commodity#name is not defined and
cannot be guessed. Make sure you have turned on an "emitDecoratorMetadata": true
option in tsconfig.json. Also make sure you have imported "reflect-metadata on
top of the main entry file in your application (before any entity imported). If
you are using JavaScript instead of TypeScript you must explicitly provide a
column type.

Следовал инструкциям. Увидели, что отражают в глобальном масштабе. Все еще получаю ошибку. Какие шаги будут рекомендованы здесь?

...