Next.js Discord

Discord Forum

idk what happened to my nextjs project

Unanswered
American posted this in #help-forum
Open in Discord
AmericanOP
i tried deleting .next and node modules and reinstalling them nothing helped

37 Replies

Revert to previous commit?
@Jboncz Revert to previous commit?
AmericanOP
previous commit is weeks ago
alot of changes
Thats not very good practice xD Uhhhh the only real thing you can do is backtrack
start removing things you have added recently
AmericanOP
i lit
turned
my pc on
after weeks
Then there shouldnt be a bunch of changes if you just turned on your pc after weeks? What? It also looks like your in the wrong path
AmericanOP
wdym
It looks like your in your main user folder
AmericanOP
Nah
💀
I mean im reading the error log bro.... your project shouldntt be referencing a node_modules folder OUTSIDE of the project like that?
AmericanOP
my user name is user
it was working before
same code
idk what happened now
Oh jeez, who does that xD thats confusing
You running as admin?
AmericanOP
no
normal
Try running as admin, maybe something got messed up with permissions
AmericanOP
ok
wait
Not working
i tried running my other project
it works
Yeah idk then, pull down your previous commit and start adding the changes you have in that branch till you figure out the issue.
Its impossible to troubleshoot this without having the project in front of me
AmericanOP
alr
AmericanOP
Yup
its working now
Nice, good job