Upgrade Aurelia Project 0.3.X to 1.3.1

Hi all :slight_smile:
I would like to Upgrade my aurelia project from version 0.3.x to the current version 1.3.1. So i have few questions about that.

I already informed myself about the upgrade but didnt catched something and im not really sure.

So there are several ways, to do that, like

  • create new project, migrate the data
  • execute an upgrade script
  • upgrade over npm

Which variant would you recommend to me?
Thanks. I look forward to your replies :slight_smile:

1 Like

The 0.3.x is 5 yrs outdated. On top of the accumulated breaking changes before v1, you also had an outdated setup (probably very old jspm) for app bundling.

It seems the only valid option is option 1: create a new project first.

3 Likes

Thanks for ur response! I First installed all the depency and now iβ€˜m facing with the issue

> Type Promise<NextCompletionResulr> is Not aissgnable to Type Promise<Next>

Did u have any ideas, why this Not work Now? :slight_smile:

1 Like

It seems like an issue in one of router pipine step, maybe check there and cast the return type to Promise<any>?

Probably some breaking change in router since 0.3.x.

1 Like

Type β€˜Promise<NextCompletionResult>’ is not assignable to type 'Promise<Next>, then i get this error …

1 Like

Maybe paste some partial code for the errors you got here? It will certainly make it easier to help than guessing :smiley: