Next.js Discord

Discord Forum

I can't run next js 15.2.3. My node version is up to date. Here is the screenshot what issue i have

Unanswered
Pacific sandlance posted this in #help-forum
Open in Discord
Pacific sandlanceOP

9 Replies

Make sure to delete your .next and node_modules folders, once they’re completely gone install deps again and run the project.

This happened in a different thread and the issue was that the package was somehow broken or non-existent (apparently?)
I delete the lightnesscss. Then again i reinstall it. But issue doesn't resolve
Roseate Spoonbill
@Pacific sandlance Have you tried removing --turbo in dev script of package.json?
I know this is not "the solution", merely a workaround, but turbo does have issues from time to time for me (depending on the project). E.g. I used to have issues with turbo not rediscovering tailwind classes in certain components after new changes were added.
@Roseate Spoonbill <@1042820025972707329> Have you tried removing --turbo in dev script of package.json?
Pacific sandlanceOP
Thanks for your comment. It's not working at all. If i Delete the ./globale.css from the layout. Apps run
What’s your Tailwind version?
I was having this issue and it solved by doing a clean install of the packages after deleting the .next and node_modules folder, it’s weird that it’s not working for you
Pacific sandlanceOP
If anyone is facing the following error in Next.js 15.2.3:
"Error evaluating Node.js code: Cannot find module '../lightningcss.win32-64mvc.node'"
Try downloading and installing the latest Microsoft Visual C++ Redistributable from the official Microsoft website:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170&fbclid=IwY2xjawJJTy5leHRuA2FlbQIxMQABHWQY40IDkmOCFtmhEziL_fx2hoo1vB_KZ9mcSCz-p0leF8VdW3RXTmIX_A_aem_atV6O7otNOGyviXhlIagOw
🔗 Latest Supported Visual C++ Redistributable
This should resolve the issue.