Skip to content

Upgrade to Nx v11 #2

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

benpsnyder
Copy link

@benpsnyder benpsnyder commented Dec 26, 2020

After upgrading to the latest Nx 11

nx migrate @nrwl/workspace
nx migrate --run-migrations=migrations.json

However please note that the following command does not complete successfully:

nx generate @angular-architects/ddd:domain --name=accounting --addApp --ngrx --no-interactive

I get the following error with v11

Could not find (undefined)
Error: Could not find (undefined)
    at Object.getWorkspace (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/@ngrx/schematics/schematics-core/utility/config.js:15:15)
    at getProject (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/@ngrx/schematics/schematics-core/utility/project.js:6:30)
    at Object.getProjectPath (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/@ngrx/schematics/schematics-core/utility/project.js:17:19)
    at /Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/@ngrx/schematics/src/store/index.js:130:42
    at MergeMapSubscriber.project (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/@angular-devkit/schematics/src/rules/call.js:75:24)
    at MergeMapSubscriber._tryNext (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
    at MergeMapSubscriber._next (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/rxjs/internal/Subscriber.js:66:18)
    at Observable._subscribe (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/rxjs/internal/util/subscribeToArray.js:5:20)
    at Observable._trySubscribe (/Volumes/CaSe/SnyderDev/snyder-apps-nx-v10-demo/nrwl/node_modules/rxjs/internal/Observable.js:44:25)

@Frikki
Copy link

Frikki commented Mar 18, 2021

@manfredsteyer Are you maintaining this repo?

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

Successfully merging this pull request may close these issues.

2 participants