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

"crypto" throws RangeError by just trying to log in with username and password #43

Open
Creska opened this issue Jun 9, 2020 · 0 comments

Comments

@Creska
Copy link

Creska commented Jun 9, 2020

Creating storage...
Warning: new Storage(email, password) is deprecated!
internal/buffer.js:77
throw new ERR_OUT_OF_RANGE(type || 'offset',
^

RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 9. Received 12
at boundsError (internal/buffer.js:77:9)
at Buffer.readInt32BE (internal/buffer.js:473:5)
at Object.exports.prepareKey (A:\Desktop\AppTest\CodeTesting\node_modules\mega\lib\crypto\index.js:35:24)
at new Storage (A:\Desktop\AppTest\CodeTesting\node_modules\mega\lib\storage.js:75:21)
at mega (A:\Desktop\AppTest\CodeTesting\node_modules\mega\lib\mega.js:9:10)
at Object. (A:\Desktop\AppTest\CodeTesting\Utility_tool\megamaps.js:4:15)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14) {
code: 'ERR_OUT_OF_RANGE'
}

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

1 participant