Report this

What is the reason for this report?

How to get started?

Posted on October 27, 2020

Pretty simple use case. I’m building an HTML page that uses npm during build.

When I try and upload this to my S3 instance, it fails as symlinks aren’t supported.

So I spun up a node.js instance (assuming that’s what I need for node_modules) here but I have no idea how to upload my files? Can someone please point me in the right direction? I’m really new to all of this stuff.

Thanks, Matt



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks for the quick and helpful response Bobby.

Am I correct in saying that I need to do this first?

Bless you Bobby, you’ve just saved me hours of frustration.

Really appreciate it mate.

Hi there @MatthewBibby,

There are a couple of ways you could use to upload your files to your server:

  • Push your project to GitHub and then use the git clone command to clone the project on your server. You can follow the steps here on how to push your project to GitHub:

https://www.digitalocean.com/community/tutorials/how-to-push-an-existing-project-to-github

  • You can use SFTP to upload your files directly to the server rather than going through GitHub:

https://www.digitalocean.com/docs/droplets/how-to/transfer-files/

I would recommend using GitHub, that way you will have your project stored in there as well and you will be able to track your changes.

Another option would be to try out the new DigitalOcean App platform:

https://www.digitalocean.com/docs/app-platform/languages-frameworks/node/

That way you will not have to manage the servers yourself.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.