mathquill / mathquill

Easily type math in your webapp
http://mathquill.com
Mozilla Public License 2.0
2.61k stars 687 forks source link

Debug ci #1026

Closed jwmerrill closed 9 months ago

jwmerrill commented 9 months ago

I think I understand the root of the problem here.

The output of make server shows

node script/test_server.js
listening on 0.0.0.0:8000
[2023-09-27T20:05:10.745Z]
make test
make[1]: Entering directory '/home/circleci/*********/*********'
mkdir -p ./build
touch ./build/.exists--used_by_Makefile
rm -rf build/fonts
cp -r src/fonts build/fonts
test -e ./node_modules/.installed--used_by_Makefile || rm -rf ./node_modules/ # robust against previous botched npm install
NODE_ENV=development npm install
make: *** [Makefile:163: server] Terminated

Build was canceled

So the server step appears to be deleting the node modules folder and then re-installing it. I think this might be racing some of our other work.

jwmerrill commented 9 months ago

Eventual solution to the issue I was debugging here is in https://github.com/mathquill/mathquill/pull/1027