kilianc / kilianc/node-apiserver

ReferenceError: __stack is not defined

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
224
Forks
20
PR merge metrics
No merged PRs in 30d

Description

on node v0.8.14, receive this error when running the account example.

console-trace/console-trace.js:43
arguments[0] = console.traceFormat(__stack[1], name) + pad + arguments[0]

ReferenceError: __stack is not defined
at Object.forEach.console.(anonymous function) [as info](/Users/username/Code/node_projects/node-apiserver/examples/account/node_modules/console-trace/console-trace.js:43:42)
at Server.mongodbDb.open.ApiServer.timeout (/Users/username/Code/node_projects/node-apiserver/examples/account/server.js:25:13)
at Server.g (events.js:192:14)
at Server.EventEmitter.emit (events.js:93:17)
at Server._listen2 (net.js:922:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the account example on Node v0.8.14 and inspect console-trace/console-trace.js:43 alongside examples/account/server.js:25. Determine why __stack is undefined in this execution path, then verify that the account example runs without the reported ReferenceError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.