'error << Couldn't open font: '/usr/local/var/nxengine/font.ttf' >> error << Failed to load font. >>
I am using nx for the first time and trying to create a react-express app, but it is throwing an error reading a font file. This comes after me running the command
nx g @nrwl/react-express:app my-app
I tried to locate the file in the path shown and when I tried to display it I got an error.
The operation can’t be completed because the original item for “font.ttf” can’t be found.
Additionally, I have made sure both react and express are installed properly, but I do not think that is what is causing the problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
