typeorm-fixtures-cli missing after argument list Ошибка в windows
Primary tabs
SyntaxError: missing ) after argument list
Возможное решение
Используйте вместо команды вида:
node --require ts-node/register ./node_modules/.bin/fixtures --config src/typeorm-config.ts ./fixtures
Команду вида:
node --require ts-node/register ./node_modules/typeorm-fixtures-cli/dist/cli.js --config src/typeorm-config.ts ./fixtures
-- т.е. на windows (одновремиенно с linux) будет работать путь
./node_modules/typeorm-fixtures-cli/dist/cli.js
Что еще почитать:
Судя по всему первое упоминание чего-то подобного тут: https://github.com/typeorm/typeorm/issue...
- Log in to post comments
- 796 reads