php – How to run ‘npm run dev’ on siteGround server


I have been developing a laravel website, and I am now trying to host it. SiteGround was recommended to me by a friend, so I bought a plan from them from a year and have uploaded and configured my files so that it connects to the database correctly etc. However, I am now getting the basic laravel ‘vite manifest not found’ error, where it tells me to run npm run dev, which i would normally do from VS Codes terminal.

However, I am not sure how I am meant to run it from SiteGround, or if this error should even be a thing considering I’m looking for the website to be hosted. I’ve seen stuff relating to SSH key’s, but after looking into it and seeing the need for various applications to connect to such stuff, Im checking to see if there are any simpler options or fixes.

Im new to hosting laravel applications, and could really use some help on how to get this error resolved. If you need more info, please let me know.



Source link

Leave a Comment