Skip to content
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

4.2.7 - error #97

Closed
Semigradsky opened this issue Sep 19, 2023 · 1 comment
Closed

4.2.7 - error #97

Semigradsky opened this issue Sep 19, 2023 · 1 comment

Comments

@Semigradsky
Copy link
Contributor

4.2.6 is okay, but there is an error in 4.2.7:

/home/dmitry/P/licensee-reporting/frontend/node_modules/license-checker-rseidelsohn/lib/index.js:732
            this.writeOutput(args, resultJson);
                 ^

TypeError: this.writeOutput is not a function
    at /home/dmitry/P/licensee-reporting/frontend/node_modules/license-checker-rseidelsohn/lib/index.js:732:18

I added console.log(this) here and see that this is global that hasn't writeOutput.

Should it be exports.writeOutput(args, resultJson);?

@Semigradsky
Copy link
Contributor Author

Closed as duplicate of #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant