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
{{ message }}
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
error · TypeError: obj.hasOwnProperty is not a function
· at clone (/usr/lib/node_modules/myth/node_modules/clone-component/index.js:30:17)
· at clone (/usr/lib/node_modules/myth/node_modules/clone-component/index.js:31:23)
· at clone (/usr/lib/node_modules/myth/node_modules/clone-component/index.js:31:23)
· at Object.exports.prefixes (/usr/lib/node_modules/myth/lib/features.js:124:14)
· at /usr/lib/node_modules/myth/lib/index.js:52:33
· at Array.forEach (native)
· at /usr/lib/node_modules/myth/lib/index.js:50:22
· at Rework.use (/usr/lib/node_modules/myth/node_modules/rework/index.js:50:3)
· at myth (/usr/lib/node_modules/myth/lib/index.js:36:6)
· at /usr/lib/node_modules/myth/bin/myth:101:13
I have found that updating /usr/lib/node_modules/myth/node_modules/clone-component/index.js:30:17 to use Object.prototype.hasOwnProperty.call(obj, key) fixes the issue.
node --version: v6.9.1npm --version: 3.10.8myth --version: 1.5.0Full error:
I have found that updating
/usr/lib/node_modules/myth/node_modules/clone-component/index.js:30:17to useObject.prototype.hasOwnProperty.call(obj, key)fixes the issue.