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!