Next Js Deployment Can't resolve components or missing export script

I was following this both static and custom. Both lead to errors for me.

For Static it says "Missing script: “export” i know the export command is there, maybe next isn’t installed on the server?

For custom It says can’t resolve components, how do i config next to find it properly?

Submit an answer
Answer a question...

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

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.

Site Moderator
Site Moderator badge
May 19, 2022

Hi @d94c8c4691d4-48e3-81b8-ad72ac,

I believe there is something missing from the configuration and as such you are getting these errors. Can you please follow the Creating a Basic Next.js Application and see if everything is working correctly with it? If yes, you can take it from there and changes the components needed for your App