Currently, I am working on a project using a 'fuse angular template' in order to speed up development and avoid the need to write numerous components.
- To get started, clone the repository from https://github.com/deanhiller/ts-prototype
- Please note that the main branch is regularly updated, but there is also a branch "angularTheme" which may throw exceptions.
cd client
npm install
npm run dev
(this will open the browser)- Open the developer tools console
Once the GUI is displayed, click on sign in and observe as it throws and logs an exception. The stack trace is in JavaScript, not TypeScript. I have created a new Angular project (same version, 18) where this functionality works correctly. Despite my efforts to compare and port the code, the stack trace breaks along the way.
- What steps should I take to debug this issue?
- How exactly do JavaScript sourcemaps and TypeScript sourcemaps function? Are there intermediary files that I should be able to access for inspection?
I have also attempted to compare and merge with a base React project, but so far, I have had no success.