Cannot find module


#1

I have Meteor 1.3, and I npm installed [big-integer](https://www.npmjs.com/package/big-integer . I also did meteor npm install --save meteor-node-stubs, as it said here. I then have var bigInt = require("big-integer"); on a file in my public folder.

However, the JS console says “install.js:85 Uncaught Error: Cannot find module 'big-integer’require”. Why is this!?

Thanks!


#2

Check out this section

https://guide.meteor.com/using-npm-packages.html#using-npm

You will have to import (rather than require) your bigInt.


#3

It isn’t working (for a different nodejs package now)…