I am developing an
Electron project. In that I am using
angular-translate functionality and I have an
en.json file in the
/src/assets/i18n folder. Everything works good on the browser.
But when I run electron build, it is failed to load the
en.json file. It is showing the error
Failed to load resource: net::ERR_FILE_NOT_FOUND
and it is referring to the url
en.json is actually located in
How can I fix this issue? I tried adding
angular.json file. Then also there is no change in the result. How can I fix this? Any help could be appreciated.