Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using {projectRoot} doesn't work with migrations #29471

Open
1 of 4 tasks
cskiwi opened this issue Dec 26, 2024 · 0 comments
Open
1 of 4 tasks

using {projectRoot} doesn't work with migrations #29471

cskiwi opened this issue Dec 26, 2024 · 0 comments

Comments

@cskiwi
Copy link

cskiwi commented Dec 26, 2024

Current Behavior

hi,

I was trying to migrate my project from nx 20.1 to 20.3, and this was a whole process,
First off all I had a bun workspace, this just times out without any clear error.

Then I switched to npm and now It was complaining that {projectRoot}/.. files couldn't be found.
I used the projectroot because then I can copy past my configs.

So I had to do the following for each project.json I had
Image

And this is a very large project, so took more time then I wanted.

Expected Behavior

That the files can be resolved when using the {projectRoot}

GitHub Repo

No response

Steps to Reproduce

  1. Use projectRoot

Nx Report

NX  Falling back to ts-node for local typescript execution. This may be a little slower.
  - To fix this, ensure @swc-node/register and @swc/core have been installed

 NX   Report complete - copy this into the issue template

Node           : 20.17.0
OS             : win32-x64
Native Target  : x86_64-windows
npm            : 10.8.2

nx                     : 20.3.0
@nx/js                 : 20.3.0
@nx/jest               : 20.3.0
@nx/eslint             : 20.3.0
@nx/workspace          : 20.3.0
@nx/angular            : 20.3.0
@nx/devkit             : 20.3.0
@nx/eslint-plugin      : 20.3.0
@nx/module-federation  : 20.3.0
@nx/nest               : 20.3.0
@nx/node               : 20.3.0
@nx/playwright         : 20.3.0
@nx/vite               : 20.3.0
@nx/web                : 20.3.0
@nx/webpack            : 20.3.0
typescript             : 5.7.2
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
@nx/jest/plugin
@nx/playwright/plugin
@nx/webpack/plugin
---------------------------------------
Community plugins:
@auth0/auth0-angular : 2.2.3
apollo-angular       : 8.0.0
ng-apexcharts        : 1.15.0
ng-process-env       : 16.0.6
ngxtension           : 4.2.0

Failure Logs

Package Manager Version

bun 1.1.42 /npm 20.17.0

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant