You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I’m using browserify-shim to pull in an external dependency from a cdn / browser global.
But when I do that, sorcery via gobble prints the following error:
TypeError: Cannot read property 'trace' of undefined
at Node.trace (node_modules/gobble/node_modules/sorcery/dist/sorcery.js:715:20)
at applySegment (node_modules/gobble/node_modules/sorcery/dist/sorcery.js:217:48)
at Chain.apply (node_modules/gobble/node_modules/sorcery/dist/sorcery.js:264:5)
at processWriteOptions (node_modules/gobble/node_modules/sorcery/dist/sorcery.js:29:18)
at Chain.write (node_modules/gobble/node_modules/sorcery/dist/sorcery.js:304:30)
My browserify config (package.json) looks like this:
I've been experiencing this intermittently for about 1 every 5-6 runs over about 8 or so months now.
TypeError: Cannot read property 'trace' of undefined
at Node.trace (/Users/chirayu/u/metro/client/node_modules/sorcery/dist/sorcery.cjs.js:472:20)
at applySegment (/Users/chirayu/u/metro/client/node_modules/sorcery/dist/sorcery.cjs.js:578:48)
at Chain.apply (/Users/chirayu/u/metro/client/node_modules/sorcery/dist/sorcery.cjs.js:625:5)
at processWriteOptions (/Users/chirayu/u/metro/client/node_modules/sorcery/dist/sorcery.cjs.js:707:18)
at Chain.write (/Users/chirayu/u/metro/client/node_modules/sorcery/dist/sorcery.cjs.js:665:30)
at /Users/chirayu/u/metro/client/node_modules/sorcery/bin/index.js:58:17
at lib$es6$promise$$internal$$tryCatch (/Users/chirayu/u/metro/client/node_modules/sorcery/node_modules/sander/node_modules/es6-promise/dist/es6-promise.js:331:16)
at lib$es6$promise$$internal$$invokeCallback (/Users/chirayu/u/metro/client/node_modules/sorcery/node_modules/sander/node_modules/es6-promise/dist/es6-promise.js:343:17)
at lib$es6$promise$$internal$$publish (/Users/chirayu/u/metro/client/node_modules/sorcery/node_modules/sander/node_modules/es6-promise/dist/es6-promise.js:314:11)
at lib$es6$promise$asap$$flush (/Users/chirayu/u/metro/client/node_modules/sorcery/node_modules/sander/node_modules/es6-promise/dist/es6-promise.js:125:9)
So I’m using browserify-shim to pull in an external dependency from a cdn / browser global.
But when I do that, sorcery via gobble prints the following error:
My browserify config (package.json) looks like this:
The text was updated successfully, but these errors were encountered: