TypeError: migrationCreator is not a function
See original GitHub issueRunning the below command caused a TypeError
contentful-migration --space-id 3mu3dzx76r6a migrations/change-country-field.js
contentful-migration --version
=> 0.9.0
TypeError: migrationCreator is not a function
at /usr/local/lib/node_modules/contentful-migration/built/lib/migration-steps/index.js:139:16
at tryCatcher (/usr/local/lib/node_modules/contentful-migration/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.attempt.Promise.try (/usr/local/lib/node_modules/contentful-migration/node_modules/bluebird/js/release/method.js:39:29)
at Object.migration (/usr/local/lib/node_modules/contentful-migration/built/lib/migration-steps/index.js:138:23)
at migration (/usr/local/lib/node_modules/contentful-migration/built/lib/migration-parser.js:43:49)
at run (/usr/local/lib/node_modules/contentful-migration/built/bin/cli.js:53:29)
at Object.<anonymous> (/usr/local/lib/node_modules/contentful-migration/bin/contentful-migration:6:1)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
"migrationCreator is not a function" when using contentful ...
I am unable to run the migration scripts in order. The error that is provided is not very helpful and seems to be...
Read more >TypeError: migrationCreator is not a function - Stack Overflow
The script you have written is a "normal" node.js script. node contentful-import.js. Will do the job just fine for that. contentful space ...
Read more >Error Laravel Migration table already exists but i want to add ...
The reason this happens is that you ran a rollback previously and it had some error in the code or did not drop...
Read more >'X' is not a function TypeError in React [Solved] | bobbyhadz
The React.js Uncaught TypeError: X is not a function occurs when we try to call a value that is not a function as...
Read more >DB2 - SQL Error Code List - IBM Mainframe
Code Reason Description System Action
‑113 INVALID CHARACTER FOUND IN NAME: name. The statement cannot...
‑172 function‑name IS NOT A VALID FUNCTION NAME NA NA...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m getting the same error. It’s not clear what causes it. @Khaledgarbaya do you have any idea what might be set wrong? The cli works fine.
I closing this issue due to inactivity, feel free to create a new one if needed