Open Ross-Rawlins opened 2 years ago
Hi Ross, you are trying to migrate using an ootb Spartacus or with custom code? We assume with some custom code, although I'm going to try ootb to be sure that doesn't happen.
if it's ottb we would look into it, but if it's not then we'd recommend trying to start with new 3.0 and adding back your code. (or ideally you start with latest, 4.3)
@Xymmer I tested this by removing all my code and trying with a blank project and I still get issues. The latest one is cannot read properties of undefined (reading 'budgets')
when I run the schematics. I have had to try to manually do the upgrade but that causes more problems.
Describe the bug I have tried many times to migrate to a newer version but it always fails on the same step, has listed here https://stackoverflow.com/questions/70937035/spartacus-migration-from-2-3 - [error] SyntaxError: Unexpected token } in JSON at position 6172
Tell us the version of Spartacus
To Reproduce Steps to reproduce the behavior:
run the command ng update @spartacus/schematics@3.0.0 --force
Expected behavior The migration should complete 100% with no issues
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.