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

Agent failed to start. From the error code it looks like due to missing callback #112

Closed
Blazar opened this issue Feb 1, 2014 · 7 comments

Comments

@Blazar
Copy link

Blazar commented Feb 1, 2014

Here's the error message. I just cloned Node from githut, made and installed yesterday.

The New Relic Node.js agent was unable to start due to an error:
TypeError: callbacks argument must be an object
    at createAsyncListener (node.js:536:15)
    at process.addAsyncListener (node.js:548:21)
    at Object.create [as createNamespace] (/home/****/node_modules/newrelic/node_modules/continuation-local-storage/context.js:151:26)
    at Object.<anonymous> (/home/****/node_modules/newrelic/lib/transaction/tracer.js:22:33)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:349:32)
    at Function.Module._load (module.js:305:12)
    at Module.require (module.js:357:17)
    at require (module.js:373:17)
@othiym23
Copy link
Contributor

othiym23 commented Feb 1, 2014

You wouldn't happen to be running node master or 0.11.11, would you? There's some work to be done on node-continuation-local-storage to sync it up with @trevnorris's changes to the asyncListener interface. It's probably always safe to assume that things may be iffy on unstable versions of Node, though we do try to keep up to date.

@Blazar
Copy link
Author

Blazar commented Feb 2, 2014

I'm likely are. How do i check?
On Jan 31, 2014 5:53 PM, "Forrest L Norvell" [email protected]
wrote:

You wouldn't happen to be running node master or 0.11.11, would you?
There's some work to be done on node-continuation-local-storage to sync
it up with @trevnorris https://github.com/trevnorris's changes to the
asyncListener interface. It's probably always safe to assume that things
may be iffy on unstable versions of Node, though we do try to keep up to
date.


Reply to this email directly or view it on GitHubhttps://github.com//issues/112#issuecomment-33859974
.

@othiym23
Copy link
Contributor

othiym23 commented Feb 2, 2014

node --version will say something like v0.11.11 or v0.11.12-pre if you're running on master. Going back to v0.11.10 or v0.10.25 will likely work better for you, especially if you're going to be deploying to production.

@muniraj65
Copy link

how to remove node and it is package completly from ubuntu 13.10 - thanks

@Blazar
Copy link
Author

Blazar commented Feb 12, 2014

sudo make uninstall
On Feb 11, 2014 9:19 PM, "Muniraj Selvam" [email protected] wrote:

how to remove node and it is package completly from ubuntu 13.10 - thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/112#issuecomment-34839882
.

@txase
Copy link

txase commented Jun 26, 2014

Hi @Blazar,

We believe your issue may have been resolved in updates to the Node.js agent. Please update to the latest agent to confirm.

I'm going to close this issue, but if you continue to see issues, please feel free to reopen.

Thanks!

@txase txase closed this as completed Jun 26, 2014
@fastfrwrd
Copy link

I was having this issue when attempting to use the winston-newrelic project. It seems to likely be related to using two different newrelic scopes of some kind. When I pass in newrelic as required by my application as an option here, it works great. But, if I let it default to just requiring newrelic itself, then that error pops up.

cmcadams-newrelic pushed a commit to cmcadams-newrelic/node-newrelic that referenced this issue Jan 29, 2024
…/logs-in-context/app/word-wrap-1.2.4

chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /logs-in-context/app
jsumners-nr pushed a commit to jsumners-nr/node-newrelic that referenced this issue Apr 16, 2024
…/moment-2.29.2

Bump moment from 2.29.1 to 2.29.2
bizob2828 added a commit to bizob2828/node-newrelic that referenced this issue Apr 19, 2024
added instrumentation for the lib-dynamodb document client.
bizob2828 added a commit to bizob2828/node-newrelic that referenced this issue Apr 23, 2024
added instrumentation for the lib-dynamodb document client.
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

5 participants