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

ReferenceError: console is not defined #4

Closed
KyleAMathews opened this issue Aug 15, 2015 · 2 comments
Closed

ReferenceError: console is not defined #4

KyleAMathews opened this issue Aug 15, 2015 · 2 comments

Comments

@KyleAMathews
Copy link

Was playing around with this a bit just now. I could require my webpack module just fine but when I went to render it (server-side), I got this error:

ReferenceError: console is not defined
    at warning (eval at <anonymous> (undefined:739:2), <anonymous>:48:7)
    at Constructor (eval at <anonymous> (undefined:967:2), <anonymous>:834:50)
    at /root/RelateRocket/page-server/lib/refactored-page-handler.coffee:36:38
    at /root/RelateRocket/page-server/lib/webpack-require.coffee:10:12

Same code works just fine outside of webpack-require so not sure what's happening.

@petehunt
Copy link
Owner

You were calling console.log() in your code somewhere, right?

@petehunt
Copy link
Owner

should be fixed in 0.0.10

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