question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better error message in case of missing assets on the local Dev server

See original GitHub issue

Consider this function https://github.com/CONNECT-platform/codedoc/blob/5a74bb83f42985c1368b40b633c84e2e87e30283/src/serve/index.ts#L41-L63

but especially line 43 https://github.com/CONNECT-platform/codedoc/blob/5a74bb83f42985c1368b40b633c84e2e87e30283/src/serve/index.ts#L43

Is it correct that '.html' is always being appended to that file name?

I am playing around with the configuration and sometimes I get it wrong. Here is what one of the “Not Found::” error messages looks like for me.

# Not Found:: # /generated/bundle/codedoc-bundle.js # C:\Code\Blogs\tyson-williams-blog\generated\generated\bundle\codedoc-bundle.js.html

2020-06-09_21-01-29_119_mintty

On the topic of error messages, where are those beautiful colors? My error message doesn’t have any red in it 😦

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
loreanvictorcommented, Jun 11, 2020

@bender2k14 thats a good idea. will re-open the issue and rename it accordingly.

0reactions
loreanvictorcommented, Jun 23, 2020

deployed via @codedoc/core@0.2.6

Read more comments on GitHub >

github_iconTop Results From Across the Web

[HPM] Error occurred while trying to proxy request #171 - GitHub
Hello this issue more about clarification, i have regular proxy to redirect requests to avoid CORS however also we need to be connected...
Read more >
Unable to load script from assets index.android.bundle
My problem was not specific to Windows but is specific to Android. Accessing the development server worked locally and in the emulator's browser ......
Read more >
Troubleshoot Asset Compute extensibility for AEM Assets
Resolution: Review your manifest.yml and ensure all indentation is correct. memorySize limit is set too low. Error: Local Dev Server ...
Read more >
How to Solve the Chunk Load Error in JavaScript - Rollbar
Whenever there's an error observed in dynamically fetching helper JavaScript files known as Chunks, a ChunkLoad Error is thrown.
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
Complete error message: Output Copy. This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found