Error using Picker / body-parser npm package in Meteor -


trying run code on meteor server side, cannot figure out way begin debugging this...i didn't think need have lib folder this?

import bodyparser 'body-parser'; import { picker } 'meteor/meteorhacks:picker';  picker.middleware(bodyparser.json()); 

error:

error: cannot find module './lib/types/json' 

any ideas?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -