question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Current Behavior

Trying to build with nx build app-name --prod does not generate any build. It simply shows the message - NX Running target build for project <project-name> and 1 task(s) that it depends on.

image

But it does not generate any dist folder output of the build.

Expected Behavior

dist folder should get generated with the build output

Steps to Reproduce

This issue may not be prioritized if details are not provided to help us reproduce the issue.

Failure Logs

NX Running target build for project vms and 1 task(s) that it depends on.

Environment

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
bublineccommented, Jun 27, 2022

For me the problem was importing a function from another project within the monorepo:

This fixed the issue: Screenshot 2022-06-27 at 09 15 24

(both mobile and desktop-client wouldn’t build before)

0reactions
bublineccommented, Jun 14, 2022

Same issue here. No idea what’s wrong

Read more comments on GitHub >

github_iconTop Results From Across the Web

My project doesn't compile with optimization parameters after ...
While making a build of angular-6 application am getting this error how i can resolve this? ... why when i want to ng...
Read more >
Affected - Nx
As your workspace grows, retesting all projects becomes too slow. To address this Nx implements code change analysis to get the min set...
Read more >
What's new in Nx 15?. Nx v15 is finally here! Let's go… - Nx Blog
Whenever you build or serve your app, shared-ui gets built before. This is required - especially in a package-based monorepo - because connected...
Read more >
What's your biggest gripes with NRWL NX? : r/Angular2 - Reddit
My problem is, when researching I am seeing mostly positive feedback ... Nx just fails to build until they aren't in nested folders...
Read more >
nrwl-nx/community - Gitter
Migrated to Angular 10 at the same time so issue could also be there ... Hello everyone, I've got a question regarding nx...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found