Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- npm run typeorm -- -d .\ormconfig.ts migration:show
- > cringe-bot@1.1.3 typeorm C:\temp\CRINGE-Bot
- > npx --require ts-node/register ./node_modules/typeorm/cli.js "-d" ".\ormconfig.ts" "migration:show"
- Error during migration show:
- Error: Invalid file path given: "C:\temp\CRINGE-Bot\ormconfig.ts". File must contain a TypeScript / JavaScript code and export a DataSource instance.
- at Function.loadDataSource (C:\temp\CRINGE-Bot\node_modules\typeorm\commands\CommandUtils.js:22:19)
- at async Object.handler (C:\temp\CRINGE-Bot\node_modules\typeorm\commands\MigrationShowCommand.js:27:26)
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! cringe-bot@1.1.3 typeorm: `npx --require ts-node/register ./node_modules/typeorm/cli.js "-d" ".\ormconfig.ts" "migration:show"`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the cringe-bot@1.1.3 typeorm script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\Ruben Martins.DESKTOP-V9D7257\AppData\Roaming\npm-cache\_logs\2022-03-28T07_19_53_959Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement