Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jscpd not working on node 6.x #247

Closed
dimofeev opened this issue Jun 21, 2019 · 3 comments
Closed

jscpd not working on node 6.x #247

dimofeev opened this issue Jun 21, 2019 · 3 comments

Comments

@dimofeev
Copy link

dimofeev commented Jun 21, 2019

Describe the bug
JSCPD tool is not working on node 6.x

To Reproduce
Steps to reproduce the behavior:

  1. Run node 6.x
  2. Start the jscpd

Error
TypeError: Object.values is not a function
at JSCPD.initializeListeners (/home/travis/build/Kinvey/flex-sdk/node_modules/jscpd/build/jscpd.js:341:16)
at new JSCPD (/home/travis/build/Kinvey/flex-sdk/node_modules/jscpd/build/jscpd.js:119:14)
at Object. (/home/travis/build/Kinvey/flex-sdk/node_modules/jscpd/build/cli.js:49:11)
at Module._compile (module.js:577:32)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)

@kucherenko
Copy link
Owner

Thank you for the report, I will investigate. As a temporary solution I can suggest use jscpd@0.6.x

@dimofeev
Copy link
Author

Thank you, @kucherenko

@kucherenko
Copy link
Owner

I've investigated the issue and can suggest use old version of jscpd (0.6.x) because I can't add support of node 6.x from security perspective

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

No branches or pull requests

2 participants