Package.json deleted, and other important files delted?

Package.json deleted, and other important files delted?

cxris
Shopify Partner
19 0 3

have been chugging along on this project after so many hiccups.

Finally getting to a good place after putting in the work yesterday I do a git commit, and then come back today and find that all my updates are not updating for some reason.

 

It turns out somehow my package.json file had been deleted and I have no idea why since I have it in my shopifyignore file ./package.json, ./package-lock.json, ./css, ./node_modules I tried restoring from git but git says it was never uploaded.

 

What do I do here?

 

What steps do I need to take to get a correct package.json file up so I can finish this project?

 

Your help is very much appreciated.

Replies 2 (2)

Dev-Brad
Shopify Partner
22 0 0

Hey @cxris 

 

I haven't had to do this before but i did find this stack overflow thread that may be able to help out https://stackoverflow.com/questions/47578216/create-update-package-json-for-existing-project

Let me know if there's anything else i can help with 🙂 

7+ Years as an expert Shopify Developer | Message for a free 15 mins consultation
cxris
Shopify Partner
19 0 3

Thank you for your response. I ended just rebuilding the packages. I re-built tailwind and all that jazz but now the store is no longer hooked up to my local dev enviroment and only makes updates when I do git commits.