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

undefinedError: Cannot read property 'eval' of null #2

Open
gautamshish09 opened this issue Feb 13, 2018 · 6 comments
Open

undefinedError: Cannot read property 'eval' of null #2

gautamshish09 opened this issue Feb 13, 2018 · 6 comments

Comments

@gautamshish09
Copy link

gautamshish09 commented Feb 13, 2018

Facing this issue while building with 'make'

touch ./node_modules/.installed--used_by_Makefile
./node_modules/.bin/lessc ./src/css/main.less > build/mathquill.css
undefinedError: Cannot read property 'eval' of null

Makefile:135: recipe for target 'build/mathquill.css' failed
make: *** [build/mathquill.css] Error 1

@screambeard
Copy link

+1

@Alzy
Copy link

Alzy commented Apr 18, 2018

I'm also trying to build and am getting the same error. Any luck figuring this out?

@Alzy
Copy link

Alzy commented Apr 18, 2018

update: after trying to build the project less manually I discovered that the issue lies in the font.less. Particularly line 2:

``.font-face;

Commenting this out, will allow make to complete. However, the resulting css will be missing the font-family declaration from the file. No further testing done.

@vrracing
Copy link

Alzy's comment led me to a fix. VSCode was indicating an error on line 1 at the ;

[less] variable value expected

I added false on line 1 and again on line 10 and that seems to have fixed it. I'm not a less-r person but the css file is getting built error free now and the demo page works.

@omit-font-face:false;
.font-face;
.font-face() when not (@omit-font-face) {
@font-face {
font-family: Symbola;
.font-srcs;
}
}

@basic:false;
.font-srcs() when not (@basic) {

@w32zhong
Copy link

See this issue: mathquill/mathquill#797

@nadavkav
Copy link

nadavkav commented Nov 2, 2021

Thanks! it help me too 👍

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

No branches or pull requests

6 participants