Build fails in Big Sur
See original GitHub issueI installed fonttools with pip3 install fonttools
, and I have node.js installed as well, v14.15.1 (LTS), I placed my two files in the original folder and I get this error. Filenames are OperatorMono-Book.otf
and OperatorMono-BookItalic.otf
. Am I doing something wrong here?
./build.sh
67.87.22.204 41%
Building OperatorMonoLig-Book
./build.sh: line 20: ttx: command not found
Reading original font file ./original/OperatorMono-Book.ttx
internal/fs/utils.js:307
throw err;
^
Error: ENOENT: no such file or directory, open ‘./original/OperatorMono-Book.ttx’ at Object.openSync (fs.js:476:3) at Object.readFileSync (fs.js:377:35) at main (/Users/Scott/operator-mono-lig/index.js:31:18) at Object.<anonymous> (/Users/Scott/operator-mono-lig/index.js:436:1) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { errno: -2, syscall: ‘open’, code: ‘ENOENT’, path: ‘./original/OperatorMono-Book.ttx’ } ./build.sh: line 23: ttx: command not found ./build.sh: line 25: fonttools: command not found Building OperatorMonoLig-BookItalic ./build.sh: line 20: ttx: command not found Reading original font file ./original/OperatorMono-BookItalic.ttx internal/fs/utils.js:307 throw err; ^
Error: ENOENT: no such file or directory, open ‘./original/OperatorMono-BookItalic.ttx’ at Object.openSync (fs.js:476:3) at Object.readFileSync (fs.js:377:35) at main (/Users/Scott/operator-mono-lig/index.js:31:18) at Object.<anonymous> (/Users/Scott/operator-mono-lig/index.js:436:1) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 { errno: -2, syscall: ‘open’, code: ‘ENOENT’, path: ‘./original/OperatorMono-BookItalic.ttx’ } ./build.sh: line 23: ttx: command not found ./build.sh: line 25: fonttools: command not found
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Works now that I’m using pyenv. Thanks again!
I need to update the build scripts to quit on error and display a meaningful message instead of giving you a big wall of text. Sorry for the confusion.