# Login with Slice Machine failing on demo project

**URL:** <https://community.prismic.io/t/login-with-slice-machine-failing-on-demo-project/16432>\
**Category:** Developing with Prismic\
**Tags:** slice-machine\
**Created:** [July 30, 2024, 9:36pm UTC](https://community.prismic.io/t/login-with-slice-machine-failing-on-demo-project/16432 "2024-07-30T21:36:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul6](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/paul6/32/5691_2.png) [@paul6](https://community.prismic.io/u/paul6)\
**Post date:** [July 30, 2024, 9:36pm UTC](https://community.prismic.io/t/login-with-slice-machine-failing-on-demo-project/16432/1 "2024-07-30T21:36:09Z")

</div>

Hi, just wanted to let you know that you are not alone.

> [@Can't use Slice Machine in a Sandbox](https://community.prismic.io/t/cant-use-slice-machine-in-a-sandbox/15708):
>
> I've started following the [awesome Youtube video by Trost](https://www.youtube.com/watch?v=v5Ncz5AcXjI) but have some initial issues. Please help? #1. npm not able to log in I'm running `npm in a sandbox. It's a Linux VM, and at the end of the installation $ npx @slicemachine/init@latest --repository lastuja-proto --starter sveltekit-starter-prismic-minimal ..the script attempts to "Logging in to Prismic.." My sandbox has no browser, so it gets stuck here: [image] [image] Is there a way to manually bypass this? I.e. if I get the …

I'm trying to install the tutorial demo on my macbook air M1 and I have the exact same issue with the 3/2 completed.  
Also when I try to log in from the Slice Machine page I'm blocked in a login loop with github, I got the log in option and every time I click on the github log in option it loops back to this same page...

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 31, 2024, 9:08am UTC](https://community.prismic.io/t/login-with-slice-machine-failing-on-demo-project/16432/2 "2024-07-31T09:08:31Z")

</div>

Hi @paul6 ,

I've moved your question here because your situation is different than the previous user. Their issue was to do with a Linux sandbox environment with no browser access to complete the login workflow.

My feeling for your case is that you maybe your Github and Prismic accounts have got conflicts.

Did you sign up to Prismic with Github or with just your email?  
Is it the same email as your Github?  
If you want to link the two you might have to delete and recreate your Prismic account.

Thanks.

---

<div class="post-metadata">

**Author:** ![paul6](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/paul6/32/5691_2.png) [@paul6](https://community.prismic.io/u/paul6)\
**Post date:** [August 7, 2024, 2:17pm UTC](https://community.prismic.io/t/login-with-slice-machine-failing-on-demo-project/16432/3 "2024-08-07T14:17:31Z")

</div>

Hi Phil 👋🏼  
thanks for your answer.  
I decided to remove all the project at once and install it after few days and now everything works fine...  
My guess is that there was maybe some issues with the sveltekit starterkit command line provided when installing a new project? 😊 🤔  
Anyway, now everything works as intended, so.. back to the tutorial 💪🏼

Thanks again for your help!

Paul
