question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: createManagementClient(...).getSpace is not a function

See original GitHub issue

REPO:

  • Install Contentful CLI
  • Log in from command line with personal access token
  • Attempt to generate migration script with contentful space generate migration -s [space-id] -e master

Expected Behavior

Script generated

Actual Behavior

Error: createManagementClient(…).getSpace is not a function

Possible Solution

None found

Steps to Reproduce

See above

Context

Environment

  • Language Version:
  • Package Manager Version:
  • Browser Version:
  • Operating System:
  • Package Version:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
billhennessycommented, Nov 22, 2018

Thanks, Phoebe. I just successfully generated my migration!

1reaction
phoebeschmidtcommented, Nov 22, 2018

Hi @maximilian-lindsey and @billhennessy,

Just letting you know this has been fixed with #101 and was released in v0.17.1 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contentful content-management (node lib) : entry won't update
Title says all. I think I've tried all possible combinations but none of them seem to work. What am I doing wrong ?...
Read more >
TypeError: client.beginAnalyzeDocuments is not a function ...
I installed the npm package -> npm install @azure/ai-form-recognizer@4.0.0-beta.3, then I tired to analyze an invoice with the example code and ...
Read more >
Lightning - TypeError: this.createAppointment is not a function?
The line where i get the error is : this.createAppointment(component, updateAppointment);. I have used a function further up the page, which works no...
Read more >
The contentful-cli from contentful - GithubHelp
TypeError : createManagementClient(...).getSpace is not a function. REPO: Install Contentful CLI; Log in from command line with personal access token ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found