novuhq/novu
[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!