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

fn is not defined #1

Open
icewitch opened this issue Jul 20, 2018 · 0 comments
Open

fn is not defined #1

icewitch opened this issue Jul 20, 2018 · 0 comments

Comments

@icewitch
Copy link

fn is not defined, if I have tried to modify fn to end, there is no output in the console. How to use the codes correctly?

D:\node\pool.js:3
superagent.get('http://google.com',fn)
^

ReferenceError: fn is not defined
at Object. (D:\node\pool.js:3:36)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3

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