Question

Problem Uploading React/Next.js app to DigitalOcean

Hi, after I implemented the getStaticProps() method for fetching data in the beginning when the app is starting up my app cant be deployed to the DigitalOcean server anymore. For the data fetching I am using axios which queries the data at the beginning and then passes it on the child components. Has anybody got a clue what the reason could be?

Bests


Submit an answer

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!

Sign In or Sign Up to Answer