Next.js Discord

Discord Forum

Need help guys :(

Unanswered
Long-legged ant posted this in #help-forum
Open in Discord
Long-legged antOP
i try to run a project localy with NextJs and Prismic but i can't.
when i do "npm run dev" i have some error and i don't understand how to fixe it.
also when i do npm install my package-lock.json is changing and i don't understand why..
can some one help me 🙂

14 Replies

try deleting your package-lock.json and node_modules folder, then run npm install again
Long-legged antOP
i already tried but nothing change :/
thx for your help 🙂
Long-legged antOP
any one else ?
Southern rough shrimp
How your packagelock is changing?
Thats weird
@Long-legged ant any one else ?
Southern rough shrimp
What is slice machine
@Southern rough shrimp Thats weird
Long-legged antOP
yes it is weird ahaha, i think it change because the "npm" i use say that "his version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!"
i'm not sure it is the reasone
@Southern rough shrimp What is slice machine
Long-legged antOP
slice machine is for set-up prismic à headlessCMS
@Long-legged ant slice machine is for set-up prismic à headlessCMS
Southern rough shrimp
Not sure according to name of it looks like slice machine is slicing ur package lock lol
Long-legged antOP
ahahah no it is my CMS
but when i want to update my npm i cant do it
Long-legged antOP
good
i was needed to update NPM and Node.Js