CLI - cannot login due to CORS error error on localhost:5555

Hi,

Using prismic-cli, running prismic login or prismic signup doesn't work.

In Safari, I get:

  • On the website:

    It looks like your CLI is unreachable, please refresh the page.

  • In the browser console:

    Fetch API cannot load http://localhost:5555/ due to access control checks.

In Firefox, I get:

  • On the website:

    It looks like your CLI is unreachable, please refresh the page.

  • In the browser console:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:5555/. (Reason: CORS request did not succeed).

In Chrome, I get:

  • On the website:

    It looks like your CLI is unreachable, please refresh the page.

  • In the browser console:

    Failed to load resource: net::ERR_ADDRESS_INVALID

This is a bit of a bummer as now I can't follow the tutorial to do anything. Can you help?

Best,

Benjamin

System information:
Node v16.10.10
macOS v11.6
zsh 5.8 (x86_64-apple-darwin20.0)

Hey @bdobs ,

Welcome to the community!

I haven’t seen this issue before and can’t recreate it, so I'm reaching out to the team for some help.

For now, can you tell me your CLI version by running prismic --version

Thanks.

This thread has been closed due to inactivity. Flag to reopen.