stampit-org / stamp-specification

The Stamp Specification: Composables
434 stars 16 forks source link

when i use compose.js, i got a module error. #122

Closed lornally closed 5 years ago

lornally commented 5 years ago

my code :

import stampit from './compose.js'

then npm test

file:///Users/bergman/git/_X/stamp/stampit-test/compose.js:7
import {isObject, isFunction, isPlainObject, uniq, isArray, merge} from 'lodash';
                                             ^^^^
SyntaxError: The requested module 'lodash' does not provide an export named 'uniq'
koresar commented 5 years ago

Ouch. That's bad. I have no idea what's going on. Sorry mate

On Sat., 8 Jun. 2019, 12:31 茂弘, notifications@github.com wrote:

my code :

import stampit from './compose.js'

then npm test

file:///Users/bergman/git/_X/stamp/stampit-test/compose.js:7 import {isObject, isFunction, isPlainObject, uniq, isArray, merge} from 'lodash'; ^^^^ SyntaxError: The requested module 'lodash' does not provide an export named 'uniq'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stampit-org/stamp-specification/issues/122?email_source=notifications&email_token=AAMMEL3RCWGSX4D65ZLDQJDPZN375A5CNFSM4HWG3ZG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYMCDWQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMMEL4RQ7CGSTEJX5KIPCTPZN375ANCNFSM4HWG3ZGQ .

lornally commented 5 years ago

maybe because lodash has been update? i will try to fix it:)