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
< ReferenceError: names is not defined
< at args.forEach.arg (/...../node_modules/lib/lib/parse.js:24:34)
< at Array.forEach (native)
< at module.exports (/...../node_modules/lib/lib/parse.js:17:8)
< at Proxy.__call__ (/...../node_modules/lib/lib.js:21:19)
< at Promise (/...../lib/emails.js:39:29)
< at Promise._execute (/...../node_modules/bluebird/js/release/debuggability.js:300:9)
< at Promise._resolveFromExecutor (/...../node_modules/bluebird/js/release/promise.js:483:18)
< at new Promise (/...../node_modules/bluebird/js/release/promise.js:79:10)
< at Promise.map (/...../lib/emails.js:17:60)
< at tryCatcher (/...../node_modules/bluebird/js/release/util.js:16:23)
< at MappingPromiseArray._promiseFulfilled (/...../node_modules/bluebird/js/release/map.js:61:38)
< at MappingPromiseArray.PromiseArray._iterate (/...../node_modules/bluebird/js/release/promise_array.js:114:31)
< at MappingPromiseArray.init (/...../node_modules/bluebird/js/release/promise_array.js:78:10)
< at MappingPromiseArray._asyncInit (/...../node_modules/bluebird/js/release/map.js:30:10)
< at Async._drainQueue (/...../node_modules/bluebird/js/release/async.js:138:12)
< at Async._drainQueues (/...../node_modules/bluebird/js/release/async.js:143:10)
Here's the error in parse.js:
args.forEach(arg=>{if(arg!==null&&typeofarg!=='boolean'&&typeofarg!=='string'&&typeofarg!=='number'){leterr=newTypeError(`${names.join('.')}: All arguments must be Boolean, Number, String or null`);letstack=err.stack.split('\n');stack=stack.slice(0,1).concat(stack.slice(5));stack[1]=stack[1].replace('Object.<anonymous>',names.join('.'));err.stack=stack.join('\n');throwerr;}});
Activity