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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new CastError #386

Closed
k7n2g opened this issue Jun 15, 2020 · 2 comments
Closed

new CastError #386

k7n2g opened this issue Jun 15, 2020 · 2 comments

Comments

@k7n2g
Copy link

k7n2g commented Jun 15, 2020

Hi everyone really need help with this error get it evertime i install iquidus
have followed all issues suggestion and any help appreciated to solve this error

script launched with pid: 24263
Error
at new CastError (/home/app/explorer/node_modules/mongoose/lib/error/cast.js:18:16)
at SchemaNumber.cast (/home/app/explorer/node_modules/mongoose/lib/schema/number.js:219:9)
at SchemaNumber.castForQuery (/home/app/explorer/node_modules/mongoose/lib/schema/number.js:269:16)
at Query._castUpdateVal (/home/app/explorer/node_modules/mongoose/lib/query.js:2394:17)
at Query._walkUpdatePath (/home/app/explorer/node_modules/mongoose/lib/query.js:2342:25)
at Query._castUpdate (/home/app/explorer/node_modules/mongoose/lib/query.js:2215:23)
at Query.update (/home/app/explorer/node_modules/mongoose/lib/query.js:2046:22)
at Function.update (/home/app/explorer/node_modules/mongoose/lib/model.js:1781:13)
at /home/app/explorer/lib/database.js:814:17
at Request._callback (/home/app/explorer/lib/explorer.js:135:18)
at Request.self.callback (/home/app/explorer/node_modules/request/request.js:187:22)
at Request.emit (events.js:315:20)
at Request. (/home/app/explorer/node_modules/request/request.js:1044:10)
at Request.emit (events.js:315:20)
at IncomingMessage. (/home/app/explorer/node_modules/request/request.js:965:12)
at IncomingMessage.emit (events.js:327:22) {
message: 'Cast to number failed for value "There was an error. Check your console." at path "count"',
kind: 'number',
value: 'There was an error. Check your console.',
path: 'count',
reason: undefined
}
index cleared (reindex)
/home/app/explorer/lib/database.js:967
lib.syncLoop(block.tx.length, function (subloop) {
^

TypeError: Cannot read property 'length' of undefined
at /home/app/explorer/lib/database.js:967:51
at Request._callback (/home/app/explorer/lib/explorer.js:214:16)
at Request.self.callback (/home/app/explorer/node_modules/request/request.js:187:22)
at Request.emit (events.js:315:20)
at Request. (/home/app/explorer/node_modules/request/request.js:1044:10)
at Request.emit (events.js:315:20)
at IncomingMessage. (/home/app/explorer/node_modules/request/request.js:965:12)

@smaicloud
Copy link

Google for this: TypeError: Cannot read property 'length' of undefined

@TheHolyRoger
Copy link
Collaborator

Dup of #56

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

3 participants