Code Monkey home page Code Monkey logo

manga-app's Issues

Error compiling npm run build.

Error compiling npm run build.
Help, I leave below the result of the terminal.

`
[ ==] info - Generating static pages (9/11)
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
TypeError: Cannot destructure property 'comics' of 'resultAll' as it is null.
at getStaticProps (/.next/server/pages/index.js:1183:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async renderToHTML (/node_modules/next/dist/server/render.js:386:20)
at async /node_modules/next/dist/export/worker.js:304:36
at async Span.traceAsyncFn (/node_modules/next/dist/trace/trace.js:79:20)
info - Generating static pages (11/11)

Build error occurred
Error: Export encountered errors on following paths:
/
at /node_modules/next/dist/export/index.js:404:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Span.traceAsyncFn (/node_modules/next/dist/trace/trace.js:79:20)
at async /node_modules/next/dist/build/index.js:1229:21
at async Span.traceAsyncFn (/node_modules/next/dist/trace/trace.js:79:20)
at async /node_modules/next/dist/build/index.js:1091:17
at async Span.traceAsyncFn (/node_modules/next/dist/trace/trace.js:79:20)
at async Object.build [as default] (/node_modules/next/dist/build/index.js:65:29)
`

English

Can we do this for English ??

Upload lên hosting

Dạ cho em hỏi về phần up lên hosting ạ, sau khi up lên thì em sẽ cần phải thiết lập các file như thế nào vậy ạ và file trang chủ là index.tsx phải không ạ ?

Mong anh giúp đáp giúp em

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.