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

Bug: The update from 1.5.2 to 1.6.0 is breaking #229

Open
TimScholten97 opened this issue Aug 20, 2024 · 1 comment
Open

Bug: The update from 1.5.2 to 1.6.0 is breaking #229

TimScholten97 opened this issue Aug 20, 2024 · 1 comment
Labels

Comments

@TimScholten97
Copy link

I'm submitting a bug report

Library Version:
1.6.0

Since the update to 1.6.0, some of my unittests(jest) in my project stopped working.

Loader must implement loadTemplate(url).
      115 |       });
      116 |
    > 117 |       await component.create(bootstrap);
          |       ^
      118 |     });
      129 |
      at Loader.loadTemplate (node_modules/aurelia-loader/dist/commonjs/aurelia-loader.js:119:11)
      at ensureRegistryEntry (node_modules/aurelia-templating/src/view-engine.ts:22:17)
      at ViewEngine.Object.<anonymous>.ViewEngine.loadViewFactory (node_modules/aurelia-templating/src/view-engine.ts:135:12)
      at ConventionalViewStrategy.Object.<anonymous>.ConventionalViewStrategy.loadViewFactory (node_modules/aurelia-templating/src/view-strategy.ts:133:23)
      at HtmlBehaviorResource.Object.<anonymous>.HtmlBehaviorResource.load (node_modules/aurelia-templating/src/html-behavior.ts:306:10)
      at ResourceDescription.Object.<anonymous>.ResourceDescription.load (node_modules/aurelia-templating/src/module-analyzer.ts:210:35)
      at ResourceModule.Object.<anonymous>.ResourceModule.load (node_modules/aurelia-templating/src/module-analyzer.ts:122:23)
      at node_modules/aurelia-templating/src/view-engine.ts:288:41

Downgrading the version back to 1.5.2 fixes this issue!

Please tell us about your environment:
Operating System:
Linux (Ubuntu 18.04)

Node Version:
14.21.3

Expected/desired behavior:
Update should not contain breaking changes.

@bigopon
Copy link
Member

bigopon commented Aug 20, 2024

Thanks for the issue @TimScholten97. When you upgraded, did you ensure you have no duplicate modules?

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

No branches or pull requests

2 participants