postaljs / postal.js

JavaScript pub/sub library supporting advanced subscription features, and several helpful add-ons.
http://ifandelse.com
MIT License
2.83k stars 193 forks source link

postal.lodash.js Error: Module name "lodash/after" has not been loaded #182

Open matt-wallis opened 6 years ago

matt-wallis commented 6 years ago

With postal.lodash.js v2.0.5, I get the following error in the browser:

require.js:5 Uncaught Error: Module name "lodash/after" has not been loaded yet for context: _. Use require([])
http://requirejs.org/docs/errors.html#notloaded
    at makeError (require.js:5)
    at Object.o [as require] (require.js:5)
    at requirejs (require.js:5)
    at postal.lodash.js:12
    at postal.lodash.js:40
makeError @ require.js:5
o @ require.js:5
requirejs @ require.js:5
(anonymous) @ postal.lodash.js:12
(anonymous) @ postal.lodash.js:40

A work-around is to use the core lodash instead: https://raw.githubusercontent.com/lodash/lodash/4.17.10-npm/core.js