Article
home/blog/Loading

How to fix refreshing on a new tab extension for Google Chrome

By default if you try to refresh custom new tab in a Google Chrome extension, you are met with a file not found error.

How to fix

the error

To fix this error you must include the homepage field in your package.json.

{
    "homepage": "/"
}

Setting the homepage to "/" resolved my error. This should work for you as well perhaps you might need to write /index.html depending on your framework.