-
Notifications
You must be signed in to change notification settings - Fork 580
Remove blockers that cause 1-start branch ngrx to fail for Angular 13+ users #36
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The hard coded ngrx entries in the package.json in the 1-start branch were creating conflicts for Angular 13 + users . Deleting them and then having people reinstall them manually appears to be the best solution. Users will have to manually do : ng add @ngrx/store ng add @ngrx/router-store ng add @ngrx/effects ng add @ngrx/data ng add @ngrx/store-devtools
@Nmuta
Nmuta
changed the title
(削除) 1 start (削除ここまで)
(追記) Remove blockers that cause 1-start branch ngrx to fail for Angular 13 users (追記ここまで)
Apr 14, 2022
@Nmuta
Nmuta
changed the title
(削除) Remove blockers that cause 1-start branch ngrx to fail for Angular 13 users (削除ここまで)
(追記) Remove blockers that cause 1-start branch ngrx to fail for Angular 13+ users (追記ここまで)
Apr 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For Angular 13+ users, there have been issues with the 1-start branch.
the ng add @ngrx/store
trying ng add @ngrx/store@latest will not work either.
➜ ngrx-course git:(1-start) ✗ ng add @ngrx/store
leads to these types of errors:
"An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID" when executing "ng add @ngrx/store".
"ng add @ngrx/store@latest" works for some users but not all.
The key issue appears to be that @ngrx is hard coded in the 1-start branch package.json. I removed all ngrx entries and then added some lines to the README to prompt the user to install all of these dependencies manually:
My pull request essentially sets users up for success to install the newer version of @ngrx in Angular 13+ to help avoid dependency conflicts specifically on the 1-start branch.