Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run export-entries without first running export fails. #43

Open
Tigatok opened this issue Aug 19, 2022 · 0 comments
Open

Trying to run export-entries without first running export fails. #43

Tigatok opened this issue Aug 19, 2022 · 0 comments

Comments

@Tigatok
Copy link

Tigatok commented Aug 19, 2022

It appears that when I try to export-entries as the first command (and probably other export-* commands), the proper directories are not created, and the command fails.

info: Starting entry migration
ER TypeError: Cannot read properties of undefined (reading 'length')
    at /home/tmarshall/clients/red/migration/contentstack-export/lib/export/entries.js:51:25
    at Promise._execute (/home/tmarshall/clients/red/migration/contentstack-export/node_modules/bluebird/js/release/debuggability.js:303:9)
    at Promise._resolveFromExecutor (/home/tmarshall/clients/red/migration/contentstack-export/node_modules/bluebird/js/release/promise.js:483:18)
    at new Promise (/home/tmarshall/clients/red/migration/contentstack-export/node_modules/bluebird/js/release/promise.js:79:10)
    at exportEntries.start (/home/tmarshall/clients/red/migration/contentstack-export/lib/export/entries.js:46:10)
    at /home/tmarshall/clients/red/migration/contentstack-export/app.js:35:33
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
error: Failed to migrate entries
error: {}
Done in 0.21s.

It looks like the failure is coming from helper.js exports.readFile command.

The proper dirs are not created and it cannot find them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant