Open keithwhyman opened 2 years ago
Thanks @keithwhyman it really helped and solved the error.
Interesting. Sorry about that. canvas
shouldn't be a dependency. This should have been in my operator-mono-lig-source
repository. I use it to generate the preview images of all the ligatures. As for xpath
it should have installed properly using npm install
. I'll fix this and make sure it works on a clean install.
So having spent the last couple of hours with this. This is just meant as a help. Installed node and python as requested, kept trying to ./build Errors Error: Cannot find module 'xpath' To solve install powershell in program files/nodesjs or where ever you installed npm install xpath If you try this in the operator-mono-lig-2.4.1 folder you get the following error PS C:\fontfun\operator-mono-lig-2.4.1> npm install xpath npm ERR! code 1 npm ERR! path C:\fontfun\operator-mono-lig-2.4.1\node_modules\canvas npm ERR! command failed
But after having installed xpath in your nodejs folder, in the operator-mono-lig-2.4.1 folder run the following in powershell npm install canvas
and then finally ./build works Hope this helps someone and saves them a couple of hours ....this can be closed (maybe noted in the install instructions)