Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Problem with Node 6 #142

Open
pin3da opened this issue Jun 23, 2016 · 2 comments
Open

Problem with Node 6 #142

pin3da opened this issue Jun 23, 2016 · 2 comments

Comments

@pin3da
Copy link

pin3da commented Jun 23, 2016

Hello, I tried to run the samples using node 6 and I got the following error:


       error · TypeError: obj.hasOwnProperty is not a function
             ·   at clone (/home/pin3da/repos/in-silico.github.io/node_modules/clone-component/index.js:30:17)
             ·   at clone (/home/pin3da/repos/in-silico.github.io/node_modules/clone-component/index.js:31:23)
             ·   at clone (/home/pin3da/repos/in-silico.github.io/node_modules/clone-component/index.js:31:23)
             ·   at Object.exports.prefixes (/home/pin3da/repos/in-silico.github.io/node_modules/myth/lib/features.js:124:14)
             ·   at /home/pin3da/repos/in-silico.github.io/node_modules/myth/lib/index.js:52:33
             ·   at Array.forEach (native)
             ·   at /home/pin3da/repos/in-silico.github.io/node_modules/myth/lib/index.js:50:22
             ·   at Rework.use (/home/pin3da/repos/in-silico.github.io/node_modules/rework/index.js:50:3)
             ·   at myth (/home/pin3da/repos/in-silico.github.io/node_modules/myth/lib/index.js:36:6)
             ·   at /home/pin3da/repos/in-silico.github.io/node_modules/myth/bin/myth:101:13

Note: With node 4 it works well.

I changed the module 'clone-component' by 'utils-copy' and it works (with node 6).

I don't know if this is the real solution, but I'm willing to help with some patch if necessary.

Thank you!

@swantzter
Copy link

May I suggest opening a pr?

@sbrl
Copy link

sbrl commented Oct 8, 2016

Just run into this myself. It's rather annoying that myth (a program that polyfills for future versions of CSS) can't be run on the latest version of node.

Does anyone have a rough estimate of when it'll be fixed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants