1602 / 1602/compound

has an error with command node .

Open
#648 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

when I input node . , there has error in console

GET /browser-sync/socket.io/?EIO=3&transport=polling&t=1423723182498-12 controller: browser-sync action: socket.io
Query: {"EIO":"3","transport":"polling","t":"1423723182498-12"}
Params: {"controller":"browser-sync","action":"socket.io"}
perform socket.io
Error: Undefined action browser-sync#socket.io(/browser-sync/socket.io/?EIO=3&transport=polling&t=1423723182498-12)
at Object. (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:67:27)
at Array.1 (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:157:28)
at run (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:109:31)
at Array.0 (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:60:13)
at run (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:109:31)
at compiledAction.(anonymous function) (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:91:13)
at Controller.call (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:49:16)
at Controller.call (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:94:14)
at Controller.perform (d:\github\camp\node_modules\compound\node_modules\kontroller\lib\flow-control.js:18:10)
at ControllerBridge.callControllerAction (d:\github\camp\node_modules\compound\lib\controller-bridge.js:169:9)
at ControllerBridge. (d:\github\camp\node_modules\compound\lib\controller-bridge.js:149:14)
at callbacks (d:\github\camp\node_modules\express\lib\router\index.js:164:37)
at param (d:\github\camp\node_modules\express\lib\router\index.js:138:11)
at param (d:\github\camp\node_modules\express\lib\router\index.js:135:11)
at param (d:\github\camp\node_modules\express\lib\router\index.js:135:11)
at pass (d:\github\camp\node_modules\express\lib\router\index.js:145:5)
at Router._dispatch (d:\github\camp\node_modules\express\lib\router\index.js:173:5)
at Object.router (d:\github\camp\node_modules\express\lib\router\index.js:33:10)
at next (d:\github\camp\node_modules\express\node_modules\connect\lib\proto.js:174:15)
at methodOverride (d:\github\camp\node_modules\express\node_modules\connect\node_modules\method-override\index.js:77:5)
at d:\github\camp\node_modules\express\node_modules\connect\lib\middleware\methodOverride.js:41:7
at methodOverride (d:\github\camp\node_modules\express\node_modules\connect\node_modules\method-override\index.js:77:5)
at Object.handle (d:\github\camp\node_modules\express\node_modules\connect\lib\middleware\methodOverride.js:39:5)
at next (d:\github\camp\node_modules\express\node_modules\connect\lib\proto.js:174:15)
at Object. (d:\github\camp\node_modules\express\node_modules\connect\node_modules\express-session\index.js:421:7)
at Object.immediate._onImmediate (timers.js:372:16)
at processImmediate [as _immediateCallback](timers.js:354:15)

is something wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

The error occurs in the compound framework when a browser-sync socket.io request is made. The stack trace points to kontroller's flow-control.js and controller-bridge.js. Start by examining the routing configuration for browser-sync endpoints and check how actions are defined. Look at the controller handling logic in the compound module to see why the action is undefined. The fix likely involves adding or correcting a route or controller action for browser-sync.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.