oz-om / next

running Nextjs on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NextJs on your Android πŸš€

running nextjs server in your phone with an eruda console πŸ˜€

requirements:

  1. the first thing you should have is termux
  2. the second thing is a code editor (recommend Acode).

installation:

  • update and upgrade termux env
apt upgrade -y
apt update -y
  • install nodeJs we can install nodejs by running:
pkg install nodejs-lts
pkg install nodejs
  • running Nextjs

open termux app then clone this repo git clone repURL. before running this reop you should be installing this package @next/swc-android-arm-eabi by running this command:

npm i -g @next/swc-android-arm-eabi

after that move to root dir cd next and run npm install && npm run dev and congratulations πŸŽ‰ the nextJs server http://localhost:3000 now running on your termux

About

running Nextjs on Android


Languages

Language:JavaScript 72.2%Language:CSS 27.8%