You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting the project using node index.js or npm start yields the following error:
{
"kind": "fatal",
"level": 600,
"plugin": "seneca",
"tag": "3.36.0",
"id": "y2ywktc9ha0k/1716500788417/83200/3.36.0/-",
"code": "plugin_define_failed",
"notice": "seneca: The definition action for the plugin repl has failed: seneca.message is not a function ( at Seneca.repl (c:\\projects\\broken-seneca-repl\\node_modules\\@seneca\\repl\\dist\\repl.js:35:12). This error is considered fatal as all plugins have to initialize correctly. You should test the plugin by itself to verify that it is working correctly. Also ensure that the configuration options passed to the plugin are correct. These are shown below under in the DETAILS section. There could also be a bug in the plugin. If you think that is the case, please create a github issue on the plugin's repository, and include this error report.",
"err": {
"eraro": true,
"orig": {},
"code": "plugin_define_failed",
"seneca": true,
"package": "seneca",
"msg": "seneca: The definition action for the plugin repl has failed: seneca.message is not a function ( at Seneca.repl (c:\\projects\\broken-seneca-repl\\node_modules\\@seneca\\repl\\dist\\repl.js:35:12). This error is considered fatal as all plugins have to initialize correctly. You should test the plugin by itself to verify that it is working correctly. Also ensure that the configuration options passed to the plugin are correct. These are shown below under in the DETAILS section. There could also be a bug in the plugin. If you think that is the case, please create a github issue on the plugin's repository, and include this error report.",
"details": {
"fullname": "repl",
"message": "seneca.message is not a function ( at Seneca.repl (c:\\projects\\broken-seneca-repl\\node_modules\\@seneca\\repl\\dist\\repl.js:35:12)",
"options": {
"listen": true,
"port": 30303,
"host": "127.0.0.1",
"depth": 11,
"alias": {
"$": {
"v$": "7.0.0"
},
"t": "object",
"v": {
"stats": "seneca.stats()",
"stats full": "seneca.stats({summary:false})",
"stats/full": "seneca.stats({summary:false})"
},
"n": 3,
"c": {
"$": {
"v$": "7.0.0"
},
"t": "any",
"n": 0,
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
},
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
},
"inspect": {
"$": {
"v$": "7.0.0"
},
"t": "object",
"v": {},
"n": 0,
"c": {
"$": {
"v$": "7.0.0"
},
"t": "any",
"n": 0,
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
},
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
},
"cmds": {
"$": {
"v$": "7.0.0"
},
"t": "object",
"v": {},
"n": 0,
"c": {
"$": {
"v$": "7.0.0"
},
"t": "any",
"n": 0,
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
},
"r": false,
"p": false,
"d": -1,
"k": [],
"e": true,
"u": {},
"a": [],
"b": [],
"m": {}
}
},
"repo": "",
"errmsg": "seneca.message is not a function",
"errline": "at Seneca.repl (c:\\projects\\broken-seneca-repl\\node_modules\\@seneca\\repl\\dist\\repl.js:35:12)",
"orig$": {},
"message$": "seneca.message is not a function"
},
"callpoint": "at Seneca.repl (c:\\projects\\broken-seneca-repl\\node_modules\\@seneca\\repl\\dist\\repl.js:35:12)",
"plugin": "repl",
"plugin_callpoint": "at callpoint (c:\\projects\\broken-seneca-repl\\node_modules\\seneca\\lib\\common.js:412:36)",
"fatal$": true
},
"isot": "2024-05-23T21:46:28.672Z",
"when": 1716500788672,
"level_name": "fatal",
"seneca_id": "y2ywktc9ha0k/1716500788417/83200/3.36.0/-"
}
I'm unable to connect seneca-repl to the instance.
Have I done something wrong in the setup?
Or maybe is latest Seneca incompatible with Seneca-repl?
I will appreciate your guidance.
The text was updated successfully, but these errors were encountered:
I'm looking to use the Seneca REPL to inspect, query and help debug Seneca instances.
Except I haven't been able to get it workng.
I followed the usage guide and produced an example that looks as follows.
package.json:
index.js:
You can find the full example code here:
https://github.com/ashleydavis/broken-seneca-repl
Starting the project using
node index.js
ornpm start
yields the following error:I'm unable to connect
seneca-repl
to the instance.Have I done something wrong in the setup?
Or maybe is latest Seneca incompatible with Seneca-repl?
I will appreciate your guidance.
The text was updated successfully, but these errors were encountered: