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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mongoose #14

Closed
khubo opened this issue Jan 25, 2018 · 20 comments
Closed

Update mongoose #14

khubo opened this issue Jan 25, 2018 · 20 comments

Comments

@khubo
Copy link
Contributor

khubo commented Jan 25, 2018

the current version of mongoose that is being used is having issues with the latest mongodb. Can you please update it to the latest?

p.s : I can make a PR 馃樃

@jacksolutions
Copy link

do you have a working version of Easy erp? it is not at all working, lots of errors and bugs, if you have working version, can you please share?

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions this is a working branch. I have also made PR

@jacksolutions
Copy link

Thank you very much, let me check and get back to you.

Thanks

@jacksolutions
Copy link

whats the future of easyerp, it seems like the author is so busy on his own business that they are not focusing on this wonderful erp, there are no commits since last 5 months, i tried to connect them many times and after some weeks i got an email saying they are very busy with customization work that they are getting so they are hardly focusing on it, how we can take this ERP further by developing more modules on top of it? any roadmap?

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions i am in no way connected to this project. I was just helping out someone, and thought someone will fix this issue. I have made a PR anyway.

@jacksolutions
Copy link

i cloned from your repo and set it up perfectly but it is stuck at login screen with this error

GET
https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en.IFwVvBRasIE.O/m=auth/rt=j/sv=1/d=1/ed=1/am=AQE/rs=AGLTcCPhIWMC-XBs_FOjL7nFPINRnwlHXA/cb=gapi.loaded_0
[HTTP/2.0 200 OK 0ms]
Source map error: TypeError: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://a52cae72-0b90-4548-97d9-3a5532918830/js/resources/lib/browser-polyfill.min.js
Source Map URL: browser-polyfill.min.js.map
[Learn More]
CSI/tbsd_
cb=gapi.loaded_0:459:127
CSI/_tbnd
cb=gapi.loaded_0:459:127
GET
https://accounts.google.com/o/oauth2/postmessageRelay
[HTTP/2.0 200 OK 109ms]
GETXHR
http://localhost:8089/modules/
[HTTP/1.1 500 Internal Server Error 27ms]
Error: No collection received from fetch

@jacksolutions
Copy link

are you getting the same error? please help

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions try google chrome . there are some browser issues.

@jacksolutions
Copy link

thanks for helping but same error in chrome too

Uncaught Error: No collection received from fetch
at fetchError (MenuItems.js:38)
at Object.e.error (backbone-min.map.1.1.2.js:1096)
at j (jquery-2.1.0.min.map.js:1074)
at Object.fireWith [as rejectWith] (jquery-2.1.0.min.map.js:1112)
at x (jquery-2.1.0.min.map.js:2714)
at XMLHttpRequest. (jquery-2.1.0.min.map.js:2850)

i am using the CRM database

@jacksolutions
Copy link

GET /account/authenticated?_=1516882361054 200 3.363 ms - 2
2018-01-25T12:12:42.292Z - error: The 'cursor' option is required, except for aggregate with the explain argument
MongoError: The 'cursor' option is required, except for aggregate with the explain argument
at Function.MongoError.create (/Users/jacksolutions/Documents/EasyERP_open_source/node_modules/mongoose/node_modules/mongodb-core/lib/error.js:31:11)
at /Users/jacksolutions/Documents/EasyERP_open_source/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:793:66
at Callbacks.emit (/Users/jacksolutions/Documents/EasyERP_open_source/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:94:3)
at Connection.messageHandler (/Users/jacksolutions/Documents/EasyERP_open_source/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:235:23)
at Socket. (/Users/jacksolutions/Documents/EasyERP_open_source/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:259:22)
at Socket.emit (events.js:159:13)
at addChunk (_stream_readable.js:265:12)
at readableAddChunk (_stream_readable.js:252:11)
at Socket.Readable.push (_stream_readable.js:209:10)
at TCP.onread (net.js:608:20)
GET /modules/ 500 10.509 ms - 91

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions did u mongorestore ? helping you debug like this is hard lol. also this is a ditched project.

@jacksolutions
Copy link

hahaha yes true, this is ditched project, yes i did mongorestore and it went well, i can see dbs too in my database

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions also, if u are using my branch, make sure u reinstall alll teh node_modules.
rm -rf node_modules
npm i

@jacksolutions
Copy link

when i cloned it, there is no node-modules folder and i had to do npm i and bower i

i did it both also redis server is installed and running and connecting fine.

let me re do the mongorestore again

@jacksolutions
Copy link

okay so it asked me for jquery version during installation, i choose 1 is it correct?

there were like around 1 to 7 options

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions yeah, go for it.

@jacksolutions
Copy link

are you using easyerp in production in your company? is it good?

@khubo
Copy link
Contributor Author

khubo commented Jan 25, 2018

@jacksolutions i am not using it anywhere. 馃拑 . its a discontinued project with some obvious bugs. I would advice against it unless you plan to work on it urself.

@jacksolutions
Copy link

started working now :) it seems like when i cloned it , it gets me master version i think,

so i manually downloaded the zip from mongoose branch and now i am in,

thank you for your help, now i am checking how useful it is, will let you know.

yes i have some good plans to make a mobile app based on it and sell in my area :)

so instead of re-inventing the wheel, why not we should use what we have? haha

@jacksolutions
Copy link

i just checked few pages, working really nice so far

@khubo khubo closed this as completed Jan 26, 2018
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

2 participants