novuhq/novu
View on GitHub[NV-3045] ๐ Bug Report: can't run migration when using docker
Open
#4,464 opened on Oct 9, 2023
Hacktoberfestlineartriage
Repository metrics
- Stars
- ย (38,713 stars)
- PR merge metrics
- ย (Avg merge 1d 5h)ย (256 merged PRs in 30d)
Description
๐ Description
Whe i try to run the migration on docker i get a error message
๐ Reproduction steps
Deploy using docker Run migration
๐ Expected behavior
Run migration
๐ Actual Behavior with Screenshots
@novu/api@0.19.0 migration:primary-provider cross-env NODE_ENV=local MIGRATION=true ts-node --transpileOnly ./migrations/integration-scheme-update/add-primary-priority-migration.ts
Error: Cannot find module '../../src/config'
Novu version
0.19.0
npm version
No response
node version
No response
๐ Provide any additional context for the Bug.
No response
๐ Have you spent some time to check if this bug has been raised before?
- I checked and didn't find a similar issue
๐ข Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit PR?
Yes I am willing to submit a PR!