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

Problem with Node 6 #142

Description

@pin3da

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions