Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    How to reconnect next.js localhost

    General Discussion
    nextjs
    4
    4
    333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nipunkahadawala
      nipunkahadawala last edited by

      Next.js වලින් වැඩ කරලා තියෙන කෙනෙක් ඉන්නවා නම් කියන්නකෝ

      "අපි project එකක් build කරලා sever එකෙන් අයින් වුනොත් නැත්නම් computer එක off කරලා on කලොත්

      නැවත localhost:3000 වල site එක run කරන්නේ කොහොමද ?

      1 Reply Last reply Reply Quote 0
      • root
        root Linux Help last edited by

        npm run dev

        1 Reply Last reply Reply Quote 0
        • Nubelle
          Nubelle Web Development last edited by

          npm run start

          1 Reply Last reply Reply Quote 0
          • thilina dilshan
            thilina dilshan last edited by

            Normal dev veda kranna nan => npm run dev
            Build krala nan =>

            1. npm run build
            2. npm start

            Apita ghnna one command eka mkkda kiyla package.json eke scripts section eken hoya ganna pluvn

            "scripts": {
            "dev": "next dev",
            "build": "next build",
            "start": "next start",
            "lint": "next lint"
            }

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            2
            Online

            3.7k
            Users

            1.3k
            Topics

            5.3k
            Posts

            • Privacy
            • Terms & Conditions
            • Donate

            © Copyrights and All right reserved Lanka Developers Community

            Powered by Axis Technologies (PVT) Ltd

            Made with in Sri Lanka

            | |