Getting error like "Unknown Argument"

Hi

I am new to hubspot - cms - react developement. I have taken the github hubspot examples to work and i am getting below issue if i tried to upload my hubspot local project to hubspot account. I am getting this issue even if i am in root folder “getting-started”. Can some one give some idea on this.

Issue is " unknown argument getting-started-project" if i tried to run npm run deploy.

Hey, @Jana87 :waving_hand: Thanks for your post. Errors like this are tough to troubleshoot because they happen locally. I walked through these steps recently on a new machine and what I remember is:

  • I had to do the full install and set up twice
  • After getting a different error than you, I scrapped my first try and reinstalled npm and the other requirements
  • I also did a full restart (possibly irrelevant)
  • Then I was able to upload files and work on the test project without issues

Please let us know what gets you moving forward! — Jaycee

Hey, @Jana87 :waving_hand: It’s really difficult to troubleshoot these issues because they are happening locally. Were you able to make any progress? One thing I had to do last time I went through this process was to scrap it and start over. I don’t know what was the main issue in my case, but starting over got me to a place where I could test and learn.

Best,

Jaycee

Hi @Jaycee_Lewis

Thank you for your respones. I have run this comment (hs project upload) inside the root folder without mentioning the Project name and it has worked well.
I have achieve this in that way.