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.

Project graph is broken in 14.8.2 on environments with older git version

See original GitHub issue

Current Behavior

Project graph is not computed correctly in node:16.17.0 containers, this is caused by the introduction of the --recurse-submodules flag in the hasher see https://github.com/nrwl/nx/commit/65e5e148dbdcbbb0dbb3c111e01cef50a2e58583:

Expected Behavior

Project graph should work on older git versions aswell.

Steps to Reproduce

docker run --rm -it node:16.17.0 /bin/bash
root@97282cc43a86:/# git --version
git version 2.20.1
root@97282cc43a86:/# git ls-files --recurse-submodules -s -z --exclude-standard .
fatal: ls-files --recurse-submodules unsupported mode

Failure Logs

Environment

Node : 16.17.0 OS : linux x64 yarn : 1.22.19

nx : 14.8.2 @nrwl/angular : Not Found @nrwl/cypress : Not Found @nrwl/detox : Not Found @nrwl/devkit : 14.8.2 @nrwl/esbuild : Not Found @nrwl/eslint-plugin-nx : 14.8.2 @nrwl/expo : Not Found @nrwl/express : Not Found @nrwl/jest : 14.8.2 @nrwl/js : 14.8.2 @nrwl/linter : 14.8.2 @nrwl/nest : 14.8.2 @nrwl/next : Not Found @nrwl/node : 14.8.2 @nrwl/nx-cloud : Not Found @nrwl/nx-plugin : 14.8.2 @nrwl/react : Not Found @nrwl/react-native : Not Found @nrwl/rollup : Not Found @nrwl/schematics : Not Found @nrwl/storybook : Not Found @nrwl/web : Not Found @nrwl/webpack : 14.8.2 @nrwl/workspace : 14.8.2 typescript : 4.8.4

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wickedestcommented, Oct 3, 2022

@skrtheboss, 2f0d61f seems to fix this issue. Is there an ETA on when the fix it will be released?

0reactions
AgentEndercommented, Oct 20, 2022

We don’t recommend using a caret for Nx versions, since even patch versions may have migrations associated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

rails_migration[gitlab-rails] action run fails from 14.8.2 to 14.10 ...
The server cannot run or be reconfigured after that. What is the expected correct behavior? Gitlab CE and the database are upgraded and...
Read more >
7.1 Git Tools - Revision Selection
Git allows you to refer to a single commit, set of commits, or range of commits in a number of ways.
Read more >
Conan Documentation
Conan is a software package manager which is intended for C and C++ developers. Conan is universal and portable. It works in all...
Read more >
HEPTAPOD_CHANGELOG.md · heptapod-0.30.2 - Projects
#653: bump to GitLab 14.8.5 Critical Security Release (from 14.8.3) ... #624: Mercurial tag read was broken on native Projects without Git auxiliary ......
Read more >
Using Driverless AI - Amazon S3 - AWS
In-GUI display of graph of feature engineering, modeling and ensembling steps of ... Allow scoring of all models built in older versions (>=...
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