-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doxity init: The "listener" argument must be of type Function. Received type undefined #41
Comments
upgraded to node 13.7.0 (npm 6.13.6) - same error. |
@7-of-9 , have you solved this issue? We need a tool to generate solidity docs as well. |
it would be nice to have support of typescript or flow types, static type checkers can catch problems earlier |
Did you manage to come up with the solution? |
I am having the same issue, using truffle and the problem comes from the truffle-compiler code. |
This is still happening. |
Still happening. Any workaround? |
I would recommend to modify your instance
…On Wed, 10 Nov 2021 at 4:17 PM, klautern ***@***.***> wrote:
Still happening. Any workaround?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOBC2FMLMCX25BTY7V4R3JLULJ5HXANCNFSM4KLELTNA>
.
|
Hey! I downgrade doxity to ^0.4.0 in the package.json and now its working. |
No ./scripts directory is created, exits immediately with trace below.
Node: v10.16.2
npm: 6.9.0
events.js:55
throw new errors.ERR_INVALID_ARG_TYPE('listener', 'Function', listener);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type Function. Received type undefined
at checkListener (events.js:55:11)
at process.removeListener (events.js:318:7)
at Object. (/usr/local/lib/node_modules/@digix/doxity/node_modules/truffle-compile/index.js:8:9)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/local/lib/node_modules/@digix/doxity/lib/compile/solc.js:76:23)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/local/lib/node_modules/@digix/doxity/lib/compile/index.js:44:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
The text was updated successfully, but these errors were encountered: