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.

Provide useful messages for missing files

See original GitHub issue
  • index.html
  • favicon.ico
  • src/index.js

They are all required, and we should crash early with a descriptive message if they are not found.

(Probably we could make favicon optional but then it would be hard to guess where to put it. I see no harm in forcing it to be there since any real website needs it anyway.)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
delorgecommented, Aug 3, 2016

Is it easier to check that file exists via access check? Should work with any npm version. Moreover, no extra dependencies needed.

UPD: we can basically crash on errors and warn on missing favicon

1reaction
vincasltcommented, Jul 22, 2016

I guess something like that could work, tell me if it should be improved. Maybe move required file definitions to somewhat more manageable place?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use the System File Checker tool to repair missing or ...
Describes how to use the System File Checker tool to troubleshoot missing or corrupted system files in Windows 8.1, Windows 8, Windows 7...
Read more >
Missing files not missing? - visual studio - Stack Overflow
My solution is not building. Visual Studio 2015 is griping about missing dlls, of solution projects, that are not in fact missing. The...
Read more >
Find or recover a file - Android - Google Drive Help
If you can't find files in Google Drive, you can use these tips to try to recover them. If you think that someone...
Read more >
How to fix "The following module is missing from the file ...
Use the point-and-click, administrative interface provided by drupal.org contrib modules. Option #1 - Module Missing Message Fixer
Read more >
Customize message and file retention - Slack
Applying basic data retention settings allow you to automatically delete messages and files that are hidden on the free plan. Note: Keep in...
Read more >

github_iconTop Related Medium Post

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