Error: opts.memlimit must be at least MEMLIMIT_MIN (undefined)
See original GitHub issueI’m having this error only in node 9. I’ve recently updated to node stable and a project using this module started to crash. Here is the full stacktrace of the error
/home/yerko/Dev/kids/node_modules/nanoassert/index.js:21
if (!t) throw new Error(m || 'AssertionError')
^
Error: opts.memlimit must be at least MEMLIMIT_MIN (undefined)
at assert (/home/yerko/Dev/kids/node_modules/nanoassert/index.js:21:17)
at new SecurePassword (/home/yerko/Dev/kids/node_modules/secure-password/index.js:30:3)
at SecurePassword (/home/yerko/Dev/kids/node_modules/secure-password/index.js:24:49)
at Object.<anonymous> (/home/yerko/Dev/kids/routes/teachers/create.js:2:11)
at Module._compile (module.js:641:30)
at Object.Module._extensions..js (module.js:652:10)
at Module.load (module.js:560:32)
at tryModuleLoad (module.js:503:12)
at Function.Module._load (module.js:495:3)
at Module.require (module.js:585:17)
As you can see the error happens in line 30 and it seems to be beacause MEMLIMIT_MIN (sodium.crypto_pwhash_MEMLIMIT_MIN) is not defined in node 9
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
PH18291: SPECIFY MEMLIMIT FOR IRLM ADDRESS APACE ...
MLT specified for IRLM must be at least the 2GB minimum. If both MLT and the Job Statement MEMLIMIT are specified, the MLT...
Read more >elFinder/elFinderVolumeDriver.class.php at master - GitHub
Open-source file manager for web, written in JavaScript using jQuery and jQuery UI - elFinder/elFinderVolumeDriver.class.php at master · Studio-42/elFinder.
Read more >MEM_LIMIT Query Option - Apache Impala
The MEM_LIMIT query option is usually expressed as a fixed size such as 10gb , and must always be less than the impalad...
Read more >Parallels Python API Reference Virtualization SDK Manual ...
For simplicity, no error checking is implemented in the sample code below. When writing your own program, the error checking should be properly...
Read more >Last fixes · 3323b45943 - ave-cms - GitGet
Last fixes. master. M@d D3n 5 years ago. parent. 315d1fded7. commit. 3323b45943. 93 changed files with 8740 additions and 3764 deletions. Whitespace.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will investigate, but I’m pretty sure the issue is in
sodium-native
and not secure password 😃 I will figure out a fix either way!@kelden This is here now in
secure-password@3.0.0