Skip to content

doh.replace is not a function #3

@CircleCode

Description

@CircleCode

Hi, I tried bulldohzer on an up-to-date arch linux, but I get the following error:

LC_ALL=C nvm exec 12 -- npx bulldohzer --doh
Running node v12.20.1 (npm v6.14.10)
In file included from ../notify.cc:4:
/home/m/.cache/node-gyp/12.20.1/include/node/node.h:737:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
  737 |       (node::addon_register_func) (regfunc),                          \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/m/.cache/node-gyp/12.20.1/include/node/node.h:771:3: note: in expansion of macro 'NODE_MODULE_X'
  771 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../notify.cc:72:1: note: in expansion of macro 'NODE_MODULE'
   72 | NODE_MODULE(addon, Init)
      | ^~~~~~~~~~~
[prebuilt-bindings] => Prebuilt bindings installed!
Trace: TypeError: doh.replace is not a function
    at /media/data/m/dotfiles/node/.npm/_npx/12826/lib/node_modules/bulldohzer/source/cli.js:356:13

Note: I ran it with nvm to ensure this is not related to a specific node version, but the same error occurs when ran outside nvm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions