You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
At the function registerCustomFonts(), there's a fontsFolderPath which is trying to find the /tns_modules path. However, /tns_modules is not included in the _dirname path when we bundle.
varfontsFolderPath=fs.path.join(__dirname.substring(0,__dirname.indexOf("/tns_modules")),"fonts");// Try from root as well for webpack bundle.jsif(!fs.Folder.exists(fontsFolderPath)){fontsFolderPath=fs.path.join(__dirname,"fonts");}if(fs.Folder.exists(fontsFolderPath)){
...
Someone with a better fix or should we send a PR?
The text was updated successfully, but these errors were encountered:
At the function
registerCustomFonts()
, there's afontsFolderPath
which is trying to find the/tns_modules
path. However,/tns_modules
is not included in the_dirname
path when we bundle./tns-core-modules/ui/styling/font.ios.ts
@DomGaud and I have a temporary fix for that:
Someone with a better fix or should we send a PR?
The text was updated successfully, but these errors were encountered: