trafficonese / leaflet.extras

Extra functionality for leaflet R package.
https://trafficonese.github.io/leaflet.extras/
GNU General Public License v3.0
213 stars 74 forks source link

npm install error #169

Closed fpirotti closed 5 months ago

fpirotti commented 5 years ago

Hello, I am trying to contribute to some improvements (in particular allow options in searchOSM and searchGoogle), but when I try to run npm install I get the following (npm version=6.9.0, node.js version=10.16.0)

leaflet-pulse-icon@0.1.0 postinstall /archivio/home/pirotti/devel/leaflet.extras/node_modules/leaflet-pulse-icon gobble build -f dist

gobble[1300]: ../src/node_contextify.cc:635:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo&): Assertion `args[1]->IsString()' failed. 1: 0x8f9d10 node::Abort() [gobble] 2: 0x8f9de5 [gobble] 3: 0x92e46e node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo const&) [gobble] 4: 0xb8cc1b [gobble] 5: 0xb8ebb2 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object*, v8::internal::Isolate) [gobble] 6: 0x3db10735be1d Aborted (core dumped) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! leaflet-pulse-icon@0.1.0 postinstall: gobble build -f dist npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the leaflet-pulse-icon@0.1.0 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.