tilemill-project / tilemill

TileMill is a modern map design studio
https://tilemill-project.github.io/tilemill/
BSD 3-Clause "New" or "Revised" License
3.1k stars 527 forks source link

Error "cannot convert char* to v8::Isolate" when installing #2739

Open Zverik opened 3 years ago

Zverik commented 3 years ago

Describe the bug

After npm install, when building gdal 0.9.8, it reports:

../../nan/nan.h:1044:37: error: cannot convert «char*» to «v8::Isolate*»
 1044 |         length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);

There are 5 other errors in the nan directory as well.

Environment: (Note: We are not setup to test on Linux or Windows so help may be slower on those OSs)