# Starting a new project with \`serverless\` command is not working

**URL:** <https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941>\
**Category:** Serverless Framework\
**Created:** [January 28, 2025, 4:10am UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941 "2025-01-28T04:10:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 28, 2025, 4:10am UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/1 "2025-01-28T04:10:45Z")

</div>

After the upgrade to V4, I am able to successfully login using the sls login in CLI. But issue comes when I run the command `serverless` and opt for a template. It downloads the template but unable to authenticate. I have two AWS account one for personal and other is for office. And make sure to activate the personal account in both CLI and IDE before running `serverless` command. But it is still failing to authenticate. Can anyone help in this matter?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/4/42f7cf8992279a7d586f0e5cd965370936f11bb9.png)

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 2:46pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/2 "2025-01-29T14:46:08Z")

</div>

I have a similar problem it only lets me enter my credentials into the dashboard and it keeps loading the page but the console tells me I don’t have an account but I do have an account.  
Did you find a solution?

---

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 29, 2025, 3:11pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/3 "2025-01-29T15:11:39Z")

</div>

In my case the loading issue wasn’t there, but it was simply throwing error that you are unauthorised as shared in the ss attached.

I found the solution on the slack channel of serverless. It says that you should delete the file `.serverlesssrc` and after delete run `sls login` and it will work.

Luckily, this actually worked for me . You try it and let me know if it works for you, and if not we will look into the issue.

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:20pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/4 "2025-01-29T15:20:26Z")

</div>

`serverlesssrc` where is this file?

---

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 29, 2025, 3:24pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/5 "2025-01-29T15:24:15Z")

</div>

you have a mac or windows?

If windows it should be in C:/Users/user name/ directory.

If mac, please check this command on terminal → find . -name “.serverlessrc”

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:33pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/6 "2025-01-29T15:33:10Z")

</div>

I already found it and deleted it but it still doesn’t work it lets me enter my credentials and I send it and it stays loading

---

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 29, 2025, 3:34pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/7 "2025-01-29T15:34:38Z")

</div>

When you say loading what exactly is loading? Can you share a screenshot of it?

Also, do you have an account on serverless-framework portal?

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:41pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/8 "2025-01-29T15:41:13Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/4/4d91046a8947590963ce1ee8fa998cfce88fa539.png)

Yes, have an account on serverless-framework portal

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:42pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/9 "2025-01-29T15:42:48Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/1/1779f01d4f8677672e219c16f2b29a50606f1437.png)

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:44pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/10 "2025-01-29T15:44:42Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/a/a6fea30638c22da9f2d00b642aef79547752f401.png)

---

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 29, 2025, 3:46pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/11 "2025-01-29T15:46:54Z")

</div>

Ok, if you have an account. Do following steps once, because you are unable to login and CLI error says that you dont have any org created for the project.

- reset the password for your account
- Change the browser/ try in incognito mode
- Change the network connection and try

try these steps once, because account exists.

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:57pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/12 "2025-01-29T15:57:17Z")

</div>

Thank you very much, I tried something else but first I deleted all the browser data:

1. I registered with a new email and
2. after deleting the “.serverlesssrc” file,
3. Sign in with new email and then log out
4. I hit change password on the email that gave me an error.
5. In the Serverless console, login and start with the problem email.  
I hope it helps someone else.

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 3:57pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/13 "2025-01-29T15:57:48Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/e/eb4f60071c682454e6bbfe5cb2c37c810363199f.png)

---

<div class="post-metadata">

**Author:** ![Saatwik-Mehta](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/saatwik-mehta/32/7485_2.png) [@Saatwik-Mehta](https://forum.serverless.com/u/Saatwik-Mehta)\
**Post date:** [January 29, 2025, 4:10pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/14 "2025-01-29T16:10:37Z")

</div>

That’s really awesome that you were able to solve the issue. Best of luck with your project.  
Keep going with the project.  
Also, I want to ask you if you have created a new account or if the earlier account worked for you. That way, whoever wants to debug the issue can easily follow the steps.

---

<div class="post-metadata">

**Author:** ![djcasco](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@djcasco](https://forum.serverless.com/u/djcasco)\
**Post date:** [January 29, 2025, 4:14pm UTC](https://forum.serverless.com/t/starting-a-new-project-with-serverless-command-is-not-working/20941/15 "2025-01-29T16:14:03Z")

</div>

Create a new one but only to solve the problem and with the steps since I was able to use the previous account
