You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using km200-api in one of my Angular projects I get: TypeError: crypto_1.randomBytes is not a function. (In 'crypto_1.randomBytes(32)', 'crypto_1.randomBytes' is undefined)
The crypto package got deprecated few years back. By now the functionality got removed, hence the randomBytes function is undefined: https://www.npmjs.com/package/crypto
Here it says:
This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
Please update km200-api to either the built-in implementation, or use nanoid or something else. Otherwise km200-api won't work with current environments anymore.
The text was updated successfully, but these errors were encountered:
@jenszech,
Wäre prima, wenn Du in den kommenden Tagen da mal reingucken könntest. Aktuell ist km200-api leider nicht mehr benutzbar. Ist schade. Ich will auch ungern deshalb das Rad neu erfinden.
Danke, Philipp
When using km200-api in one of my Angular projects I get:
TypeError: crypto_1.randomBytes is not a function. (In 'crypto_1.randomBytes(32)', 'crypto_1.randomBytes' is undefined)
The crypto package got deprecated few years back. By now the functionality got removed, hence the randomBytes function is undefined:
https://www.npmjs.com/package/crypto
Here it says:
Please update km200-api to either the built-in implementation, or use nanoid or something else. Otherwise km200-api won't work with current environments anymore.
The text was updated successfully, but these errors were encountered: