offline
Unanswered
American black bear posted this in #help-forum
American black bearOP
which file do I need to run when i use create-next-app offline
I have downloaded all the basic libraries offline
Just wanted to know how can I run create-next-app offline.
I have downloaded all the basic libraries offline
Just wanted to know how can I run create-next-app offline.
39 Replies
you can't. Because the repo is online and will be requested from a online source. So when you are offline, you can't get this specific repo. You can copy an existing repo from your files on your pc @American black bear
@B33fb0n3 you can't. Because the repo is online and will be requested from a online source. So when you are offline, you can't get this specific repo. You can copy an existing repo from your files on your pc <@884065350742859796>
American black bearOP
I am doing it offline because it is coming
"Next is not recognised as a script, bash, etc etc"
And I can't go online for reasons
"Next is not recognised as a script, bash, etc etc"
And I can't go online for reasons
I don't know how can I add next in environment variables cuz I don't know what to write
you mean how to create a nextjs Project?
@B33fb0n3 you mean how to create a nextjs Project?
American black bearOP
Yeah but offline
I downloaded the libraries
American black bearOP
Thanks I will do something to get network to my pc
yea, you should. If you already have an existing app, you can start you app even offline
@B33fb0n3 yea, you should. If you already have an existing app, you can start you app even offline
American black bearOP
I have
But it isn't starting
which command do you execute to try to start?
American black bearOP
npm run build (tried other scripts)
just to get this right. We are talking about starting not creating right?
American black bearOP
Yes
American black bearOP
Did but isn't
Starting
because you are using the wrong command:
npm run build (tried other scripts)
- npm run build (tried other scripts)
+ npm run dev American black bearOP
I did bro
By tried other scripts I meant this only
I used
Npm run build
Npm run dev
Npm run start
And npm run lint
Npm run build
Npm run dev
Npm run start
And npm run lint
Even tried to debug
whats the error when using
npm run dev?American black bearOP
It gives off
"next is not a script, cmd, etc etc"
"next is not a script, cmd, etc etc"
Even though I have downloaded next
American black bearOP
Yes and I don't have network on my pc
I mean I don't get network for my pc
then you need to find a way to get
next into your project, else you can't work with nextAmerican black bearOP
Thats what I meant with adding an environment variable
Anyways thanks
I will do something
@B33fb0n3 then you need to find a way to get next into your project, else you can't work with next
American black bearOP
I already have next though I transferred it from my mobile including 90 more libraries
It's very complicated for me to help you in this situation without knowing your whole pc setup. You don't want to share this, because it's to much. I am sorry
American black bearOP
No worries ig it's my problem for not being able to use network