commonshost / commonshost/bulldohzer

doh.replace is not a function

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
126
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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)' to 'node::addon_register_func' {aka 'void (*)(v8::Local, v8::Local, 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.