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

Uncaught ReferenceError: process is not defined #2

Open
sunfeng90 opened this issue Oct 24, 2022 · 2 comments
Open

Uncaught ReferenceError: process is not defined #2

sunfeng90 opened this issue Oct 24, 2022 · 2 comments

Comments

@sunfeng90
Copy link

I get following errors.

Uncaught ReferenceError: process is not defined

@andrasq
Copy link
Owner

andrasq commented Oct 25, 2022

how are you using the package? Qlogger was written for nodejs apps, and the nodejs global.process object provides the input/output functions used to write the logs. In some versions of node even dependency loading using require() relies on process.

That said, I'll isolate the code better to allow loading and using it as long the i/o is not needed (as with a user-provided writer).

@sunfeng90
Copy link
Author

Okay,thanks. I want to use it in VueJs envs. But i get this error. I will choose another libs. Thanks a lot.

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

2 participants