I have a Meteor project that has worked just fine, and has had
meteor-node-stubs. But upon recently adding the package
crypto-random-string, I am getting this error:
Uncaught TypeError: promisify is not a function. The app won’t start at all.
promisify is right there in the package: crypto-random-string/index.js at 3f1ec4cc6b41e27294506be6442b83369dbdcb58 · sindresorhus/crypto-random-string · GitHub
But I can’t figure it out.
meteor-node-stubs is in my project. It’s been working fine.
promisify should be available on the client. I’ve removed
node_modules and re-installed, and tried anything else I can think of.
Is this a problem anybody else has seen? Is this a Meteor 2.0 thing? Help.