Not able to run app through nx serve dashboard command. #31703
-
I have access to a private repository that works perfectly fine for everyone else, but it's not working on my laptop. When I run the command nx serve dashboard, I get the following error: NX Cannot find project 'dashboard' please help me out |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
Have you tried the following?:
Additionally, a bit more context, like sharing the |
Beta Was this translation helpful? Give feedback.
-
@ekkolon Performed all steps, still facing the issue. Here's nx report |
Beta Was this translation helpful? Give feedback.
-
@ekkolon Tried this it only resolve the warnings in yellow line. The main issue NX Cannot find project 'dashboard' still persist. |
Beta Was this translation helpful? Give feedback.
-
Hey @aakash-Compro @anuragino, totally get how frustrating it can be when things don’t behave as expected! Just to clarify: have you already tried all of the suggested workarounds mentioned in the linked issue? Issues like these can be hard to diagnose without a minimal, reproducible example. That said, here are a few steps I’d personally take to help narrow things down further: 1. Open only the
|
Beta Was this translation helpful? Give feedback.
-
Hi @ekkolon ty for sharing your suggestion on fixing the issue and after following your steps. And I fixed this error by install Microsoft Visual C++ 2015 Redistributable (x64) |
Beta Was this translation helpful? Give feedback.
-
Hi @ekkolon, |
Beta Was this translation helpful? Give feedback.
-
Hey guys, that's great to hear! Thanks for sharing your solution as well. Appreciate the follow-up and glad it’s working for you now! |
Beta Was this translation helpful? Give feedback.
Have you tried the following?:
pnpm exec nx reset
? (see https://nx.dev/reference/core-api/nx/documents/reset)pnpm exec nx repair
Additionally, a bit more context, like sharing the
project.json
of your dashboard project andnx report
output, would help narrow down your issue.