#Local server not running after I install a package / update nextjs

68 messages · Page 1 of 1 (latest)

ripe atlas
#

So I just opened my project after 1 month, and whenever I install a package and try to run 'npm run dev', it does not start the local server. I tried updating to nextjs 14, but even doing that causes the same problem.

swift violetBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

ripe atlas
#

Doesnt matter which package I install

#

I'm getting these errors tho when I run it before installing anything. But when I check the lines, there doesn't seem to be a typo there. What does this error mean? They didn't show up a month ago.

nimble knoll
ripe atlas
nimble knoll
nimble knoll
ripe atlas
ripe atlas
nimble knoll
ripe atlas
#

What should I do after?

nimble knoll
ripe atlas
#

Is this concerning

nimble knoll
ripe atlas
#

Still same issue

nimble knoll
ripe atlas
#

Yea..

nimble knoll
# ripe atlas Yea..

ah try create a new project with npx create-next-app@latest and see if it works

ripe atlas
#

A new project in another directory?

nimble knoll
ripe atlas
ripe atlas
nimble knoll
ripe atlas
#

after like 6 seconds

nimble knoll
ripe atlas
nimble knoll
ripe atlas
#

Doesn't change the port. I changed this line in package.json "dev": "next dev -p 5000",

#

Still issue persists tho

nimble knoll
ripe atlas
nimble knoll
nimble knoll
ripe atlas
#

From previous versions from the website?

nimble knoll
#

install LTS one

ripe atlas
#

Oh

#

Okay

nimble knoll
# ripe atlas

run set-ExecutionPolicy RemoteSigned -Scope CurrentUser

ripe atlas
#

That fixed it. It starts now sekiroHype

nimble knoll
ripe atlas
nimble knoll
ripe atlas
#

in _app.js

#

When route is changing, it shows a progress bar at the top.

#

Oh

#

I found where the typo is

nimble knoll
ripe atlas
#

Thank you. That got rid of those warnings.

#

Should I update caniuse-lite

nimble knoll
ripe atlas
#

Alright. That has fixed everything I have been encountering.

#

Should I update my project to nextjs 14?

nimble knoll
ripe atlas
#

Which command do i use

nimble knoll
ripe atlas
#

Thank you so much dude. Life saver. All issues are fixed for now.