loopback-example-database icon indicating copy to clipboard operation
loopback-example-database copied to clipboard

Shared class \"account\" has no method handling GET /

Open guiwunsch opened this issue 12 years ago • 5 comments

I'm trying to run this demo but is showing this error:

Browser error: { "error": { "name": "Error", "status": 404, "message": "Shared class "account" has no method handling GET /", "statusCode": 404, "stack": "Error: Shared class "account" has no method handling GET /\n at Object.restRemoteMethodNotFound as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Object.expressInit as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Object.query as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Function.app.handle (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:201:3)\n at Object.fn as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:168:78)" } }

Terminal Log: GET /api/accounts/ 404 3ms - 2.17kb

Can you help me? Thanks

guiwunsch avatar May 28 '14 03:05 guiwunsch

Thank you for reporting the issue. It was due to a bad version for [email protected] that has some breaking changes that should not be part of the release. I just unpublished the release. Please run ’npm install -f'.

On May 27, 2014, at 8:37 PM, guiwunsch [email protected] wrote:

I'm trying to run this demo but is showing this error:

Browser error: { "error": { "name": "Error", "status": 404, "message": "Shared class "account" has no method handling GET /", "statusCode": 404, "stack": "Error: Shared class "account" has no method handling GET /\n at Object.restRemoteMethodNotFound as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Object.expressInit as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Object.query as handle\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at Function.app.handle (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:201:3)\n at Object.fn as handle\n at next (/Users/g uiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:193:15)\n at next (/Users/guiwunsch/Projetos/HereIAmWS/tests/loopback-mysql-example/node_modules/loopback/node_modules/strong-remoting/node_modules/express/node_modules/connect/lib/proto.js:168:78)" } }

Terminal Log: GET /api/accounts/ 404 3ms - 2.17kb

Can you help me? Thanks

— Reply to this email directly or view it on GitHub.

raymondfeng avatar May 28 '14 04:05 raymondfeng

We published [email protected]. The problem should have been fixed now.

raymondfeng avatar May 28 '14 06:05 raymondfeng

I encountered the same issue

igortcg avatar Dec 03 '14 10:12 igortcg

Hi @raymondfeng I encountered the same issue. I am using "loopback-datasource-juggler": "^2.7.0", I post question but not got response, Please visit link, http://stackoverflow.com/questions/35643874/cannot-get-specific-file-from-s3-using-strongloop

me waiting for kind response, Thanks

nargiskhatoon avatar Mar 11 '16 08:03 nargiskhatoon

@nargiskhatoon Please open a new issue with the steps to reproduce and I'll see if we can get you some help there.

superkhau avatar Mar 14 '16 23:03 superkhau