Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build doesn't do anything #169

Open
ArafatRakib opened this issue Jul 8, 2021 · 10 comments
Open

build doesn't do anything #169

ArafatRakib opened this issue Jul 8, 2021 · 10 comments

Comments

@ArafatRakib
Copy link

I'm trying to build the font in a windows system. However, when I type build in terminal after installing all the npm modules, it doesnt do anything. In powershell it shows

build : The term 'build' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ build
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (build:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException````
@kiliman
Copy link
Owner

kiliman commented Jul 8, 2021

In PowerShell, scripts that are in the current directory must be written as .\build

@AnthonyLzq
Copy link

Same here, using with Manjaro.

@kiliman
Copy link
Owner

kiliman commented Jul 19, 2021

@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the ./original folder?

Make sure they are named like this. No spaces.

OperatorMono-Bold.otf
OperatorMono-BoldItalic.otf
OperatorMono-Book.otf
OperatorMono-BookItalic.otf
OperatorMono-Light.otf
OperatorMono-LightItalic.otf
OperatorMono-Medium.otf
OperatorMono-MediumItalic.otf
OperatorMono-XLight.otf
OperatorMono-XLightItalic.otf
OperatorMonoSSm-Bold.otf
OperatorMonoSSm-BoldItalic.otf
OperatorMonoSSm-Book.otf
OperatorMonoSSm-BookItalic.otf
OperatorMonoSSm-Light.otf
OperatorMonoSSm-LightItalic.otf
OperatorMonoSSm-Medium.otf
OperatorMonoSSm-MediumItalic.otf

@AnthonyLzq
Copy link

AnthonyLzq commented Jul 19, 2021

@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the ./original folder?

Make sure they are named like this. No spaces.

OperatorMono-Bold.otf
OperatorMono-BoldItalic.otf
OperatorMono-Book.otf
OperatorMono-BookItalic.otf
OperatorMono-Light.otf
OperatorMono-LightItalic.otf
OperatorMono-Medium.otf
OperatorMono-MediumItalic.otf
OperatorMono-XLight.otf
OperatorMono-XLightItalic.otf
OperatorMonoSSm-Bold.otf
OperatorMonoSSm-BoldItalic.otf
OperatorMonoSSm-Book.otf
OperatorMonoSSm-BookItalic.otf
OperatorMonoSSm-Light.otf
OperatorMonoSSm-LightItalic.otf
OperatorMonoSSm-Medium.otf
OperatorMonoSSm-MediumItalic.otf

This fixed my issue, thanks. Btw, yes, Manjaro is an ArchLinux based distro.

@eo1989
Copy link

eo1989 commented Aug 19, 2021

Running .\build in powershell still doesnt populate the build folder. npm install yields errors in powershell, but works in wsl2. That being said, running bash ./build.sh in wsl2 (ubuntu 20.04) (im beta on windows 11) yields line 8 error.

image

@kiliman
Copy link
Owner

kiliman commented Aug 19, 2021

Hmm.. first for PowerShell, did you make sure the .\original folder contains the correct Operator Mono fonts? (see comment above as to name format)

As for WSL, what happens if you just type ./build.sh without the sh or bash in front?

Those \r seems like a line ending issue. By default, git will clone and convert line endings to platform specific. Windows typically uses CRLF \r\n whereas Linux/macOS uses just LF \n. So it looks like WSL is expecting \n but sees \r\n since you checked out the files from the Windows side.

@umardevid
Copy link

Same here, using with Manjaro.

yea same with me in Ubuntu

@umardevid
Copy link

@AnthonyLzq so Manjaro is a Linux distro? Did you copy the Operator Mono fonts into the ./original folder?

Make sure they are named like this. No spaces.

OperatorMono-Bold.otf
OperatorMono-BoldItalic.otf
OperatorMono-Book.otf
OperatorMono-BookItalic.otf
OperatorMono-Light.otf
OperatorMono-LightItalic.otf
OperatorMono-Medium.otf
OperatorMono-MediumItalic.otf
OperatorMono-XLight.otf
OperatorMono-XLightItalic.otf
OperatorMonoSSm-Bold.otf
OperatorMonoSSm-BoldItalic.otf
OperatorMonoSSm-Book.otf
OperatorMonoSSm-BookItalic.otf
OperatorMonoSSm-Light.otf
OperatorMonoSSm-LightItalic.otf
OperatorMonoSSm-Medium.otf
OperatorMonoSSm-MediumItalic.otf

whay the original font in my download is empty?

@bryant-the-coder
Copy link

bryant-the-coder commented Jan 19, 2022

i use this to patch the font using docker
microsoft/cascadia-code#612 (comment)

@Beatlz
Copy link

Beatlz commented Jan 13, 2024

In PowerShell, scripts that are in the current directory must be written as .\build

Hey, amazing repo. I love this. You should probably add this to the README.md : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants