operator-mono-lig: Error: ENOENT: no such file or directory, open './original/OperatorMono-Medium.ttx'
I get this error when run build.sh, I am using node v8.4.0
➜ operator-mono-lig git:(master) ✗ sh build.sh
rm: original/*.ttx: No such file or directory
build.sh: line 4: ttx: command not found
build.sh: line 5: ttx: command not found
Reading original font file ./original/OperatorMono-Medium.ttx
(node:19784) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-Medium.ttx'
(node:19784) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Reading original font file ./original/OperatorMono-MediumItalic.ttx
(node:19785) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open './original/OperatorMono-MediumItalic.ttx'
(node:19785) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
build.sh: line 14: ttx: command not found
build.sh: line 15: ttx: command not found
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (5 by maintainers)
for ubuntu users
sudo apt install fonttools python3-fonttoolsand after installation run./buid.shit workd for me 😀FYI, for Mac users, I advice to run
pip3 install fonttools, solving mac permissions problems (https://stackoverflow.com/a/33416270/3191011)For the record similarly just did
It worked then.
@timhecker Can you update the README with the info you found? Thanks!
Finally I could, i had to install python with homebrew:
Ok @kiliman, I used nvm to install node v8.4.0. Once complete, I ran
sh build.shonce again and it did merge out my Medium and MediumItalic to the build directory.