Cannot find module 'crypto'


#1

I updated to meteor 1.3.1 and i want to replace the node wrapper packages like
https://atmospherejs.com/planifica/node-rsa with the original node packages.

I installed node-rsa via meteor npm install node-rsa. On import {RSA} from ‘node-rsa’; i get the message “Cannot find module ‘crypto’”. What do i wrong?

thanks


#2

Maybe you somehow removed meteor-node-stubs. Try npm i meteor-node-stubs -S.