Closed paulvandrunen closed 3 years ago
Hi, I got the same error, have you find a way to solve this issue? @paulvandrunen
I got the same error, still.
I am getting the exact same error too, both on Ubuntu and Windows.
I am trying to install summernote, which uses grunt-webfont
which in turn uses ttf2woff2
.
Any help would be much appreciated. Thanks.
The reason could be an incompatible version of python (3+). As a workaround i use a project based version of python (2.7.11). I don't have any idea of python so maybe i did it the ugly way:
.npmrc
at project root level#!/bin/bash
PROJECT_DIR="${PWD}"
# install python 2.7.11 locally
rm -rf path/within/project/python_src
rm -rf path/within/project/python-2.7.11
mkdir -p path/within/project/python_src
cd path/within/project/python_src
wget https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz
tar zxfv Python-2.7.11.tgz
find Python-2.7.11 -type d | xargs chmod 0755
cd Python-2.7.11
./configure --prefix=${PROJECT_DIR}/path/within/project/python-2.7.11
make && make install
cd $PROJECT_DIR
rm -rf path/within/project/python_src
In my opinion, I found it is running well in Node 10, but failed in Node 12, I am using Python and already tried "window build tools".
In my opinion, I found it is running well in Node 10, but failed in Node 12, I am using Python and already tried "window build tools".
yeah seems like it. I'd rather fall back to Node 10 than depending on Python 2+
Hi in our Bamboo server and also when trying to install we get a node-gyp error. Anyone have a solution for this.
`npm install -g ttf2woff2 /usr/local/bin/ttf2woff2 -> /usr/local/lib/node_modules/ttf2woff2/bin/ttf2woff2.js