How to get more specific debugging messages and warnings from Aurelia

After making some code changes to my project and updating the page, I encountered the error below:

enter image description here

This tells me that loan.js was not found. Then my first thought is to find out which file is trying to call loan.js. When I open any of these errors to view the stack trace, I see system files, for example:

  • system.src.js: xxx
  • Aurelia-loader-default.js: xxx
  • Aurelia-templating.js: xxx
  • compose.js: xxx
  • etc.

What is not showing up is some specific file that will lead me to where my error is. It turns out in myFile.js

enter image description here

I forgot to specify a specific path to loan.js

view-model="loans/loan"

, , , , ? - debug, logging error, ? , , , ( 404).

+4

Source: https://habr.com/ru/post/1684500/


All Articles