nrwl / nx

Smart Monorepos · Fast CI
https://nx.dev
MIT License
23.76k stars 2.37k forks source link

incremental builds not backward compatible #7779

Closed nhhockeyplayer closed 3 years ago

nhhockeyplayer commented 3 years ago

incremental builds not backward compatible

we do nx migrate latest

and then something new gets folded in taking out projects out

Current Behavior

I try to build my numerous projects individually or ALL only a couple make it the rest fail and nothing happens nothing built to DIST

and nx just says this

meanstack02@admin starter % nx build api           

>  NX  Running target build for project api and 2 task(s) that it depends on.

———————————————————————————————————————————————
meanstack02@admin starter % 

another


meanstack02@admin starter % nx build api-typegoose

>  NX  Running target build for project api-typegoose and 1 task(s) that it depends on.

———————————————————————————————————————————————
meanstack02@admin starter % 

Expected Behavior

building software should not be broken

introducing new features should be backward compatible

Failure Logs

meanstack02@admin starter % nx build --project=core         
No project name specified. Using default project : mobile-app

 ERROR  Cannot find target 'build' for project 'core'

meanstack02@admin starter % nx build api           

>  NX  Running target build for project api and 2 task(s) that it depends on.

———————————————————————————————————————————————
meanstack02@admin starter % 

Environment

meanstack02@admin starter % nx report

>  NX  Report complete - copy this into the issue template

  Node : 14.17.1
  OS   : darwin x64
  yarn : 1.22.10

  nx : 13.1.4
  @nrwl/angular : 13.1.4
  @nrwl/cli : 13.1.4
  @nrwl/cypress : 13.1.4
  @nrwl/devkit : 13.1.4
  @nrwl/eslint-plugin-nx : 13.1.4
  @nrwl/express : 13.1.4
  @nrwl/jest : 13.1.4
  @nrwl/linter : 13.1.4
  @nrwl/nest : 13.1.4
  @nrwl/next : Not Found
  @nrwl/node : 13.1.4
  @nrwl/nx-cloud : 12.5.2
  @nrwl/react : 13.1.4
  @nrwl/schematics : 8.12.11
  @nrwl/tao : 13.1.4
  @nrwl/web : 13.1.4
  @nrwl/workspace : 13.1.4
  @nrwl/storybook : 13.1.4
  @nrwl/gatsby : Not Found
  typescript : 4.3.5
nhhockeyplayer commented 3 years ago

workaround

add this to your projects

"dependsOn": [],

github-actions[bot] commented 1 year ago

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.