directus-labs / 8-to-9-migration-tool

Automated script to migrate from Directus v8 to Directus v9
1 stars 0 forks source link

Migration crashing when running data task: TypeError: Cannot read property '4' of undefined #27

Open arpijoy opened 3 years ago

arpijoy commented 3 years ago

The data migration is failing with the following error: ❯ Inserting Data ✖ text_classification → Cannot read property '4' of undefined .. Migrating Users Migration Files TypeError: Cannot read property '4' of undefined at file:///Users/acho/workdir/migration/migration-tool/tasks/data.js:87:24 at Array.map () at insertBatch (file:///Users/acho/workdir/migration/migration-tool/tasks/data.js:83:32) at processTicksAndRejections (node:internal/process/task_queues:93:5) at async Task.task (file:///Users/acho/workdir/migration/migration-tool/tasks/data.js:49:4) { context: [Object: null prototype] { skipCollections: [ 'testing' ],

samuelstein commented 2 years ago

same issue here with the latest version of the migration tool