I need to use a native module scrypt in my function app.
I have installed the module via the kudu console. (I had to had to install globally and then copy to the local node_modules
directory. Installing locally resulted in a strange LINK error)
I can run scrypt tests on the local install and they pass.
However, when I try to require('scrypt')
from within the azure function, I get this error:
mscorlib: One or more errors occurred. Error: A dynamic link library (DLL) initialization routine failed.