Skip to content

Live-Editing is missing details when reporting errors  #11

@HUSSAR-mtrela

Description

@HUSSAR-mtrela

igniteui-docfx-template script should output details/paths about Live-Editing config when it cannot find a file, .e.g

  • path to a sample/component
  • names of additional files (if any) set in the config

This way so it is easier to debug this kind of errors:

Live-Editing error from Angular samples build:
2021-04-07T13:41:21.0934393Z Starting Live-Editing Generation - for E:\BuildAgents\A_work\46\s
2021-04-07T13:41:21.0934393Z Live-Editing - SharedAssetsGenerator...
2021-04-07T13:41:21.0934393Z Live-Editing - SampleAssetsGenerator...
2021-04-07T13:41:21.0934393Z Live-Editing - generating component routes...
2021-04-07T13:41:21.0934393Z Live-Editing - generating component samples...
2021-04-07T13:41:21.1715662Z [�[90m16:41:21�[39m] 'generate-live-editing' errored after 1.69 s
2021-04-07T13:41:21.1715662Z [�[90m16:41:21�[39m] Error: Error: ENOENT: no such file or directory, open 'undefined.ts'
2021-04-07T13:41:21.1715662Z at SampleAssetsGenerator_1.SampleAssetsGenerator.generateSamplesAssets.then.then.then.catch.e (E:\BuildAgents\A_work\46\s\node_modules\igniteui-live-editing\LiveEditingManager.js:61:33)
2021-04-07T13:41:21.1715662Z at process._tickCallback (internal/process/next_tick.js:68:7)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions