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
TypeError: Cannot convert undefined or null to object
at Function.getOwnPropertyDescriptors ()
at _objectSpread (/Users/huocp/bw/bcx-broker-au-frontend/node_modules/@babel/runtime/helpers/objectSpread.js:19:46)
at plugin (/Users/huocp/bw/bcx-broker-au-frontend/node_modules/gulp-cache/lib/index.js:491:19)
at buildJs (/Users/huocp/bw/bcx-broker-au-frontend/gulpfile.js:102:17)
at build (/Users/huocp/bw/bcx-broker-au-frontend/gulpfile.js:128:5)
With latest
@babel/runtime
v7.3.0,TypeError: Cannot convert undefined or null to object
at Function.getOwnPropertyDescriptors ()
at _objectSpread (/Users/huocp/bw/bcx-broker-au-frontend/node_modules/@babel/runtime/helpers/objectSpread.js:19:46)
at plugin (/Users/huocp/bw/bcx-broker-au-frontend/node_modules/gulp-cache/lib/index.js:491:19)
at buildJs (/Users/huocp/bw/bcx-broker-au-frontend/gulpfile.js:102:17)
at build (/Users/huocp/bw/bcx-broker-au-frontend/gulpfile.js:128:5)
Caused by this:
gulp-cache/src/index.js
Lines 75 to 78 in 37039dc
The
task.cacheable
is undefined, causing@babel/runtime
to fail.This seems caused by the compiled code
lib/index.js
is based on old babel version (presets, plugins?).Two possible fixes:
@babel/runtime
in package.json to"@babel/runtime": "~7.2.0"
, pinning it to 7.2.x.The text was updated successfully, but these errors were encountered: